comparison dmd/inifile.c @ 571:cbd6c8073a32

Changed all '#if linux || __APPLE__' to '#if POSIX' so we can support other platforms too, thanx for the suggestion anders.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Tue, 02 Sep 2008 23:10:12 +0200
parents f79bbd1d0b27
children aa953cc960b6
comparison
equal deleted inserted replaced
568:f75b16f1e405 571:cbd6c8073a32
77 if (!FileName::exists(filename)) 77 if (!FileName::exists(filename))
78 { 78 {
79 filename = FileName::replaceName(argv0, inifile); 79 filename = FileName::replaceName(argv0, inifile);
80 if (!FileName::exists(filename)) 80 if (!FileName::exists(filename))
81 { 81 {
82 #if linux || __APPLE__ 82 #if POSIX
83 83
84 #if 0 84 #if 0
85 #if __GLIBC__ // This fix by Thomas Kuehne 85 #if __GLIBC__ // This fix by Thomas Kuehne
86 /* argv0 might be a symbolic link, 86 /* argv0 might be a symbolic link,
87 * so try again looking past it to the real path 87 * so try again looking past it to the real path