LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File tumiki-fighters-gdc-0.24-semantics-for-version.patch of Package tumiki-fighters (Project home:ykoba)

# Copyright (C) 2007  Peter De Wachter <pdewacht@gmail.com>
# Distributed under the same license as the game. See debian/copyright.

Index: tf/import/opengl.d
===================================================================
--- tf.orig/import/opengl.d
+++ tf/import/opengl.d
@@ -1,10 +1,4 @@
-version (Win32) {
-	private import std.c.windows.windows;
-	extern(Windows):
-}
-version (linux) {
-	extern(C):
-}
+extern(C):
 
 alias uint GLenum;
 alias ubyte GLboolean;
Index: tf/import/openglu.d
===================================================================
--- tf.orig/import/openglu.d
+++ tf/import/openglu.d
@@ -1,11 +1,6 @@
 import opengl;
 
-version (Win32) {
-	extern(Windows):
-}
-version (linux) {
-	extern(C):
-}
+extern(C):
 
 GLubyte* gluErrorString (
     GLenum   errCode);