summaryrefslogtreecommitdiff
path: root/devel/SDL/patches/patch-ab
blob: 57b87a841a9bbe3f02002b0299dbcccd5dba38e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.4 2005/01/05 12:05:19 adam Exp $

--- include/SDL_syswm.h.orig	2004-12-13 07:54:31.000000000 +0000
+++ include/SDL_syswm.h
@@ -49,7 +49,7 @@ typedef struct SDL_SysWMinfo SDL_SysWMin
 #else
 
 /* This is the structure for custom window manager events */
-#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \
+#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__) || defined(__NetBSD__)) && \
     (!defined(DISABLE_X11) && !defined(__CYGWIN32__) && !defined(ENABLE_NANOX) && \
      !defined(__QNXNTO__))
  /* AIX is unix, of course, but the native compiler CSet doesn't define unix */