Skip to content

Commit

Permalink
Don't include malloc.h on Mac.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stéphan Kochen committed May 13, 2012
1 parent 385a99c commit 2f019b5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions SDLLaunch/Src/SDLLaunchPrivate.h
Expand Up @@ -6,15 +6,17 @@ Revision history:
* Created by Brandon Reinhart.
=============================================================================*/

#if WIN32
#if defined(WIN32)
#include <windows.h>
#else
#include <errno.h>
#include <sys/stat.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#if !defined(__APPLE__)
#include <malloc.h>
#endif
#include <fcntl.h>
#include "SDL.h"
#include "Engine.h"
Expand Down
6 changes: 4 additions & 2 deletions UCC/Src/UCC.cpp
Expand Up @@ -6,13 +6,15 @@ Revision history:
* Created by Tim Sweeney.
=============================================================================*/

#if WIN32
#if defined(WIN32)
#include <windows.h>
#else
#include <errno.h>
#include <sys/stat.h>
#endif
#include <malloc.h>
#if !defined(__APPLE__)
#include <malloc.h>
#endif
#include <stdio.h>

// Core and Engine
Expand Down

0 comments on commit 2f019b5

Please sign in to comment.