Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment