Commit 13b798a1 authored by deuce's avatar deuce
Browse files

Define __unix__ in gen_defs.h not in genwrap.h for *nix systems that don't

define it themselves.
parent 4d6a8462
......@@ -51,8 +51,15 @@
#elif defined(__OS2__)
#define INCL_BASE /* need this for DosSleep prototype */
#include <os2.h>
#else
#if (defined(__APPLE__) && defined(__MACH__) && defined(__POWERPC__)) || defined (__NetBSD__)
#ifndef __unix__
#define __unix__
#endif
#endif
#endif
#include <sys/types.h>
/* Control characters */
......
......@@ -38,12 +38,6 @@
#ifndef _GENWRAP_H
#define _GENWRAP_H
#if (defined(__APPLE__) && defined(__MACH__) && defined(__POWERPC__)) || defined (__NetBSD__)
#ifndef __unix__
#define __unix__
#endif
#endif
#include <stdio.h> /* sprintf */
#include "gen_defs.h" /* ulong */
#include "wrapdll.h" /* DLLEXPORT and DLLCALL */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment