Mercurial > retraceit
comparison src/util.h @ 112:9daf778feaf1 1.4
Fix usage of WIN32 macro. With c++11 this is no longer set.
_WIN32 is the better macro to use anyway.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 08 Dec 2016 15:34:07 +0100 |
parents | 098a10fc2e83 |
children |
comparison
equal
deleted
inserted
replaced
111:e6b8f1590a01 | 112:9daf778feaf1 |
---|---|
26 * | 26 * |
27 * @returns The directory of the current process | 27 * @returns The directory of the current process |
28 */ | 28 */ |
29 char * get_install_dir(); | 29 char * get_install_dir(); |
30 | 30 |
31 #ifndef WIN32 | 31 #ifndef _WIN32 |
32 /**@def Some value to use as equivalent as MAX_PATH on windows */ | 32 /**@def Some value to use as equivalent as MAX_PATH on windows */ |
33 #define MAX_PATH_LINUX 4000 | 33 #define MAX_PATH_LINUX 4000 |
34 | 34 |
35 /**@brief Get the directory in which the process proc resides in | 35 /**@brief Get the directory in which the process proc resides in |
36 * | 36 * |