diff options
author | Yang Tse <yangsita@gmail.com> | 2008-09-05 01:27:24 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-09-05 01:27:24 +0000 |
commit | 62519bfe059251af2914199f284c736553ff0489 (patch) | |
tree | 01c3b4f32b3b86c6ac6da3c3da0c9cadd49a28e6 /src | |
parent | 29f7f468ced90d4a3d1084295318b3d640ac3e0b (diff) |
somewhat protect Mac OS X users from using Mac OS 9 config file
Diffstat (limited to 'src')
-rw-r--r-- | src/config-mac.h | 11 | ||||
-rw-r--r-- | src/setup.h | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/src/config-mac.h b/src/config-mac.h index 2697afe0e..a3a57c262 100644 --- a/src/config-mac.h +++ b/src/config-mac.h @@ -1,3 +1,12 @@ +#ifndef __SRC_CONFIG_MAC_H +#define __SRC_CONFIG_MAC_H + +/* ================================================================ */ +/* src/config-mac.h - Hand crafted config file for Mac OS 9 */ +/* ================================================================ */ +/* On Mac OS X you must run configure to generate config.h file */ +/* ================================================================ */ + /* Define to 1 if you want the built-in manual */ #define USE_MANUAL 1 @@ -19,3 +28,5 @@ /* we provide our own strdup prototype */ char *strdup(char *s1); + +#endif /* __SRC_CONFIG_MAC_H */ diff --git a/src/setup.h b/src/setup.h index 4f0835e3c..b56407c64 100644 --- a/src/setup.h +++ b/src/setup.h @@ -46,8 +46,8 @@ #include "config-win32.h" #endif -#ifdef macintosh -#include "config-mac.h" +#if defined(macintosh) && defined(__MRC__) +# include "config-mac.h" #endif #ifdef __riscos__ |