1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

somewhat protect Mac OS X users from using Mac OS 9 config file

This commit is contained in:
Yang Tse 2008-09-05 01:27:24 +00:00
parent 29f7f468ce
commit 62519bfe05
4 changed files with 26 additions and 4 deletions

View File

@ -1,3 +1,12 @@
#ifndef __LIB_CONFIG_MAC_H
#define __LIB_CONFIG_MAC_H
/* ================================================================ */
/* lib/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 OS "mac" #define OS "mac"
#define HAVE_NETINET_IN_H 1 #define HAVE_NETINET_IN_H 1
@ -83,3 +92,5 @@
#define HAVE_EXTRA_STRICMP_H 1 #define HAVE_EXTRA_STRICMP_H 1
#define HAVE_EXTRA_STRDUP_H 1 #define HAVE_EXTRA_STRDUP_H 1
#endif /* __LIB_CONFIG_MAC_H */

View File

@ -48,8 +48,8 @@
#endif #endif
#endif #endif
#ifdef macintosh #if defined(macintosh) && defined(__MRC__)
#include "config-mac.h" # include "config-mac.h"
#endif #endif
#ifdef __AMIGA__ #ifdef __AMIGA__

View File

@ -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 to 1 if you want the built-in manual */
#define USE_MANUAL 1 #define USE_MANUAL 1
@ -19,3 +28,5 @@
/* we provide our own strdup prototype */ /* we provide our own strdup prototype */
char *strdup(char *s1); char *strdup(char *s1);
#endif /* __SRC_CONFIG_MAC_H */

View File

@ -46,8 +46,8 @@
#include "config-win32.h" #include "config-win32.h"
#endif #endif
#ifdef macintosh #if defined(macintosh) && defined(__MRC__)
#include "config-mac.h" # include "config-mac.h"
#endif #endif
#ifdef __riscos__ #ifdef __riscos__