comparison common/portpath.c @ 165:d47de01d6ad7

Implemented port_realpath for windows.
author Sascha Wilde <wilde@intevation.de>
date Tue, 25 Mar 2014 12:25:39 +0100
parents 6d64d7e9fa32
children 199878f09bf1
comparison
equal deleted inserted replaced
164:6d64d7e9fa32 165:d47de01d6ad7
26 port_realpath(char *path) 26 port_realpath(char *path)
27 { 27 {
28 #ifndef _WIN32 28 #ifndef _WIN32
29 return realpath(path, NULL); 29 return realpath(path, NULL);
30 #else 30 #else
31 fprintf(stderr, "Windows Suport missing!"); 31 return _fullpath(NULL, path, 0);
32 abort();
33 #endif 32 #endif
34 } 33 }

http://wald.intevation.org/projects/trustbridge/