[BACK]Return to patch-src_common_common_h CVS log [TXT][DIR] Up to [local] / ports / games / ufoai / base / patches

File: [local] / ports / games / ufoai / base / patches / Attic / patch-src_common_common_h (download)

Revision 1.1, Mon Apr 18 09:30:57 2011 UTC (13 years, 2 months ago) by yason
Branch: MAIN
CVS Tags: ufoai_2-3-1

move to single directory

$OpenBSD$
--- src/common/common.h.orig	Fri Jun 18 11:07:59 2010
+++ src/common/common.h	Fri Jun 18 11:10:44 2010
@@ -48,8 +48,20 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 #    define SHARED_EXT "so"
 #  endif
 
-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+#elif defined(__FreeBSD__)
 #  define BUILDSTRING_OS "FreeBSD"
+#  ifndef SHARED_EXT
+#    define SHARED_EXT "so"
+#  endif
+
+#elif defined(__NetBSD__)
+#  define BUILDSTRING_OS "NetBSD"
+#  ifndef SHARED_EXT
+#    define SHARED_EXT "so"
+#  endif
+
+#elif defined(__OpenBSD__)
+#  define BUILDSTRING_OS "OpenBSD"
 #  ifndef SHARED_EXT
 #    define SHARED_EXT "so"
 #  endif