mirror of
https://github.com/ganelson/inform.git
synced 2024-06-01 07:48:35 +03:00
Alias PLATFORM_LINUX to PLATFORM_UNIX in retrospective sources
PLATFORM_LINUX is new in Inform 10.1. In the retrospective sources, defining PLATFORM_LINUX does nothing, meaning that in the absence of a platform definition, PLATFORM_MACOSX will take effect. Add a check for PLATFORM_LINUX to the start of each of the ni.c sources, and treat it the same as PLATFORM_UNIX. (These files are generated and technically not supposed to be edited, but the source code for old versions of Inform is now frozen, so they are not going to be generated again.)
This commit is contained in:
parent
10409f1f07
commit
1ed898bd43
|
@ -9,6 +9,9 @@
|
|||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#include <errno.h>
|
||||
#ifdef PLATFORM_LINUX
|
||||
#define PLATFORM_UNIX /* Manually added: alias LINUX to UNIX */
|
||||
#endif
|
||||
#define NI_VERSION "Inform 7"
|
||||
#define NI_BUILD "6L02"
|
||||
#define PREFORM_PUNCTUATION_MARKS "{}[]_^?&\\"
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#include <errno.h>
|
||||
#ifdef PLATFORM_LINUX
|
||||
#define PLATFORM_UNIX /* Manually added: alias LINUX to UNIX */
|
||||
#endif
|
||||
#define NI_VERSION "Inform 7"
|
||||
#define NI_BUILD "6L38"
|
||||
#define PREFORM_PUNCTUATION_MARKS "{}[]_^?&\\"
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
#include <math.h>
|
||||
#include <errno.h>
|
||||
#include <errno.h>
|
||||
#ifdef PLATFORM_LINUX
|
||||
#define PLATFORM_UNIX /* Manually added: alias LINUX to UNIX */
|
||||
#endif
|
||||
#define NI_VERSION "Inform 7"
|
||||
#define NI_BUILD "6M62"
|
||||
#define PREFORM_PUNCTUATION_MARKS "{}[]_^?&\\"
|
||||
|
|
Loading…
Reference in a new issue