瀏覽代碼

Included malloc.h from files using malloc on Win32.

Camilla Berglund 13 年之前
父節點
當前提交
6399fb19fd
共有 7 個文件被更改,包括 7 次插入0 次删除
  1. 1 0
      src/fullscreen.c
  2. 1 0
      src/win32_clipboard.c
  3. 1 0
      src/win32_fullscreen.c
  4. 1 0
      src/win32_init.c
  5. 1 0
      src/win32_opengl.c
  6. 1 0
      src/win32_window.c
  7. 1 0
      src/window.c

+ 1 - 0
src/fullscreen.c

@@ -31,6 +31,7 @@
 #include "internal.h"
 #include "internal.h"
 
 
 #include <stdlib.h>
 #include <stdlib.h>
+#include <malloc.h>
 
 
 
 
 //========================================================================
 //========================================================================

+ 1 - 0
src/win32_clipboard.c

@@ -32,6 +32,7 @@
 #include <limits.h>
 #include <limits.h>
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
+#include <malloc.h>
 
 
 
 
 //////////////////////////////////////////////////////////////////////////
 //////////////////////////////////////////////////////////////////////////

+ 1 - 0
src/win32_fullscreen.c

@@ -32,6 +32,7 @@
 
 
 #include <stdlib.h>
 #include <stdlib.h>
 #include <limits.h>
 #include <limits.h>
+#include <malloc.h>
 
 
 
 
 //========================================================================
 //========================================================================

+ 1 - 0
src/win32_init.c

@@ -31,6 +31,7 @@
 #include "internal.h"
 #include "internal.h"
 
 
 #include <stdlib.h>
 #include <stdlib.h>
+#include <malloc.h>
 
 
 #ifdef __BORLANDC__
 #ifdef __BORLANDC__
 // With the Borland C++ compiler, we want to disable FPU exceptions
 // With the Borland C++ compiler, we want to disable FPU exceptions

+ 1 - 0
src/win32_opengl.c

@@ -31,6 +31,7 @@
 #include "internal.h"
 #include "internal.h"
 
 
 #include <stdlib.h>
 #include <stdlib.h>
+#include <malloc.h>
 
 
 
 
 //========================================================================
 //========================================================================

+ 1 - 0
src/win32_window.c

@@ -32,6 +32,7 @@
 
 
 #include <stdio.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdlib.h>
+#include <malloc.h>
 
 
 
 
 //========================================================================
 //========================================================================

+ 1 - 0
src/window.c

@@ -32,6 +32,7 @@
 
 
 #include <string.h>
 #include <string.h>
 #include <stdlib.h>
 #include <stdlib.h>
+#include <malloc.h>
 
 
 
 
 //========================================================================
 //========================================================================