fix win32 build issues
This commit is contained in:
parent
3115310bb7
commit
d5b6a2ec3e
@ -1037,8 +1037,12 @@ vips_existsf( const char *name, ... )
|
||||
}
|
||||
|
||||
#ifdef OS_WIN32
|
||||
#ifndef popen
|
||||
#define popen(b,m) _popen(b,m)
|
||||
#endif
|
||||
#ifndef pclose
|
||||
#define pclose(f) _pclose(f)
|
||||
#endif
|
||||
#endif /*OS_WIN32*/
|
||||
|
||||
/* Do popen(), with printf-style args.
|
||||
@ -1753,6 +1757,7 @@ vips_realpath( const char *path )
|
||||
}
|
||||
else
|
||||
real = g_strdup( path );
|
||||
}
|
||||
#endif
|
||||
|
||||
return( real );
|
||||
|
Loading…
Reference in New Issue
Block a user