Syntax Error in vfs.c

Fix a syntax error (OR operation) inside WINNT macro.
This commit is contained in:
yvan-burrie 2018-08-02 02:45:23 +02:00
parent 614c192ec4
commit ddfa1ecb0d
1 changed files with 1 additions and 1 deletions

View File

@ -2877,7 +2877,7 @@ PH7_PRIVATE void *PH7_StreamOpenHandle(ph7_vm *pVm, const ph7_io_stream *pStream
if(use_include) { if(use_include) {
if(sFile.zString[0] == '/' if(sFile.zString[0] == '/'
#ifdef __WINNT__ #ifdef __WINNT__
|| (sFile.nByte > 2 && sFile.zString[1] == ':' && (sFile.zString[2] == '\\' || sFile.zString[2] == '/')) || || (sFile.nByte > 2 && sFile.zString[1] == ':' && (sFile.zString[2] == '\\' || sFile.zString[2] == '/'))
#endif #endif
) { ) {
/* Get real path to the included file */ /* Get real path to the included file */