diff options
author | Heikki Lindholm <holin@iki.fi> | 2009-10-18 06:28:49 +0000 |
---|---|---|
committer | Heikki Lindholm <holin@iki.fi> | 2009-10-18 06:28:49 +0000 |
commit | 7e20c445682f63dfab3058acfc0e61a7a48ca25a (patch) | |
tree | 9966271ebeff843557733c990f084d40d135670f /src/util/os_installation.c | |
parent | 85fe8817d96b112717df804be282f2bfd37aeaf7 (diff) | |
download | gnunet-7e20c445682f63dfab3058acfc0e61a7a48ca25a.tar.gz gnunet-7e20c445682f63dfab3058acfc0e61a7a48ca25a.zip |
cosmetics
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r-- | src/util/os_installation.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c index a8789281e..f27d195c3 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c | |||
@@ -42,7 +42,7 @@ extern "C" | |||
42 | #include "gnunet_configuration_lib.h" | 42 | #include "gnunet_configuration_lib.h" |
43 | #include "gnunet_disk_lib.h" | 43 | #include "gnunet_disk_lib.h" |
44 | #include "gnunet_os_lib.h" | 44 | #include "gnunet_os_lib.h" |
45 | #if OSX | 45 | #if DARWIN |
46 | #include <mach-o/ldsyms.h> | 46 | #include <mach-o/ldsyms.h> |
47 | #include <mach-o/dyld.h> | 47 | #include <mach-o/dyld.h> |
48 | #endif | 48 | #endif |
@@ -137,7 +137,7 @@ get_path_from_module_filename () | |||
137 | } | 137 | } |
138 | #endif | 138 | #endif |
139 | 139 | ||
140 | #if OSX | 140 | #if DARWIN |
141 | typedef int (*MyNSGetExecutablePathProto) (char *buf, size_t * bufsize); | 141 | typedef int (*MyNSGetExecutablePathProto) (char *buf, size_t * bufsize); |
142 | 142 | ||
143 | static char * | 143 | static char * |
@@ -285,7 +285,7 @@ os_get_gnunet_path () | |||
285 | if (ret != NULL) | 285 | if (ret != NULL) |
286 | return ret; | 286 | return ret; |
287 | #endif | 287 | #endif |
288 | #if OSX | 288 | #if DARWIN |
289 | ret = get_path_from_dyld_image (); | 289 | ret = get_path_from_dyld_image (); |
290 | if (ret != NULL) | 290 | if (ret != NULL) |
291 | return ret; | 291 | return ret; |
@@ -325,7 +325,7 @@ os_get_exec_path () | |||
325 | if (ret != NULL) | 325 | if (ret != NULL) |
326 | return ret; | 326 | return ret; |
327 | #endif | 327 | #endif |
328 | #if OSX | 328 | #if DARWIN |
329 | ret = get_path_from_NSGetExecutablePath (); | 329 | ret = get_path_from_NSGetExecutablePath (); |
330 | if (ret != NULL) | 330 | if (ret != NULL) |
331 | return ret; | 331 | return ret; |