Don't redefine SYSTEM_ID_DEFAULT if it's specified in CPPFLAGS.

This commit is contained in:
tsutsui 2024-05-31 20:33:12 +00:00
parent 5597b179bd
commit a56b9f7088
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,8 @@
#define DEFCREATOR "unix" /* default Apple CREATOR */ #define DEFCREATOR "unix" /* default Apple CREATOR */
#endif /* APPLE_HYB */ #endif /* APPLE_HYB */
#ifndef SYSTEM_ID_DEFAULT
#ifdef __QNX__ #ifdef __QNX__
#define SYSTEM_ID_DEFAULT "QNX" #define SYSTEM_ID_DEFAULT "QNX"
#endif #endif
@ -73,3 +75,5 @@
#ifndef SYSTEM_ID_DEFAULT #ifndef SYSTEM_ID_DEFAULT
#define SYSTEM_ID_DEFAULT "Unknown" #define SYSTEM_ID_DEFAULT "Unknown"
#endif #endif
#endif /* !SYSTEM_ID_DEFAULT */