Mercurial > dwindows
comparison compat.h @ 908:850b2e6cfeab
Have INIDIR use the home directory on all platforms now, not just Unix and Mac.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 19 Apr 2011 08:24:52 +0000 |
parents | 6aad620f646d |
children | 209d7f5137f2 |
comparison
equal
deleted
inserted
replaced
907:3e393a9375c4 | 908:850b2e6cfeab |
---|---|
41 #if defined(__EMX__) || defined(__OS2__) || defined(__WIN32__) || defined(WINNT) | 41 #if defined(__EMX__) || defined(__OS2__) || defined(__WIN32__) || defined(WINNT) |
42 #include <io.h> | 42 #include <io.h> |
43 #include <process.h> | 43 #include <process.h> |
44 | 44 |
45 #define DIRSEP "\\" | 45 #define DIRSEP "\\" |
46 #define INIDIR "." | |
47 #define TYPDIR "." | 46 #define TYPDIR "." |
48 #else | 47 #else |
49 #define DIRSEP "/" | 48 #define DIRSEP "/" |
49 #define TYPDIR "/usr/local/" __TARGET__ | |
50 #endif | |
50 #define INIDIR "~/." __TARGET__ | 51 #define INIDIR "~/." __TARGET__ |
51 #define TYPDIR "/usr/local/" __TARGET__ | |
52 #endif | |
53 | 52 |
54 /* OS/2 */ | 53 /* OS/2 */ |
55 #if defined(__EMX__) || defined(__OS2__) | 54 #if defined(__EMX__) || defined(__OS2__) |
56 #define INCL_WIN | 55 #define INCL_WIN |
57 #define INCL_GPI | 56 #define INCL_GPI |