# Copyright (C) 2007  Peter De Wachter <pdewacht@gmail.com>
# Distributed under the same license as the game. See debian/copyright.

Sat Aug 25 23:53:42 CEST 2007  pdewacht@gmail.com
  * 02_sdl_import_remove_windows_code
diff -rN -u old-a7xpg/import/SDL.d new-a7xpg/import/SDL.d
--- old-a7xpg/import/SDL.d	2007-08-26 00:02:52.000000000 +0200
+++ new-a7xpg/import/SDL.d	2007-08-26 00:02:52.000000000 +0200
@@ -73,18 +73,18 @@
  */
 void SDL_Quit();
 
-void SDL_SetModuleHandle(void *hInst);
-extern(Windows) void* GetModuleHandle(char*);
+//void SDL_SetModuleHandle(void *hInst);
+//extern(Windows) void* GetModuleHandle(char*);
 
 static this()
 {
 	/* Load SDL dynamic link library */
 	if (SDL_Init(SDL_INIT_NOPARACHUTE) < 0)
 		throw new Error("Error loading SDL");
-	SDL_SetModuleHandle(GetModuleHandle(null));
+	//SDL_SetModuleHandle(GetModuleHandle(null));
 }
 
 static ~this()
 {
 	SDL_Quit();
-}
\ No newline at end of file
+}
diff -rN -u old-a7xpg/import/SDL_getenv.d new-a7xpg/import/SDL_getenv.d
--- old-a7xpg/import/SDL_getenv.d	2007-08-26 00:02:52.000000000 +0200
+++ new-a7xpg/import/SDL_getenv.d	2007-08-26 00:02:52.000000000 +0200
@@ -1,11 +1,2 @@
 /* Not all environments have a working getenv()/putenv() */
-
-extern(C):
-
-/* Put a variable of the form "name=value" into the environment */
-int SDL_putenv(char *variable);
-int putenv(char* X) { return SDL_putenv(X); }
-
-/* Retrieve a variable named "name" from the environment */
-char *SDL_getenv(char *name);
-char *getenv(char* X) { return SDL_getenv(X); }
+/* But Linux has */

