Commit aaa6667b authored by deuce's avatar deuce
Browse files

Define __unix__ in genwrap.h for those OSs that don't define it by default

but are *NIX (MacOS and NetBSD so far)
parent 559dc72b
......@@ -38,6 +38,12 @@
#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