diff options
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 80e09e5dec..14fc92b343 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -369,6 +369,8 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func if (state->cwd[state->cwd_length-1]!=DEFAULT_SLASH) { state->cwd[state->cwd_length++] = DEFAULT_SLASH; } +#else + state->cwd[state->cwd_length++] = DEFAULT_SLASH; #endif memcpy(&state->cwd[state->cwd_length], ptr, ptr_length+1); state->cwd_length += ptr_length; } |