Ignore:
Timestamp:
Jul 18, 2012, 10:27:34 PM (8 years ago)
Author:
sam
Message:

build: hide the SDL_main.h inclusion in core.h, and only activate it
on Windows if using Visual Studio; if using MinGW, try to stick to the
original main() entry point.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tutorial/11_fractal.cpp

    r1645 r1647  
    2121using namespace lol;
    2222
    23 #if defined _WIN32 && defined USE_D3D9
    24 #   define FAR
    25 #   define NEAR
    26 #   include <d3d9.h>
    27 #endif
    28 
    29 #if USE_SDL
    30 #   include <SDL_main.h>
    31 #endif
    32 
    3323#if defined _WIN32
    3424#   include <direct.h>
     25#   if defined USE_D3D9
     26#       define FAR
     27#       define NEAR
     28#       include <d3d9.h>
     29#   endif
    3530#endif
    3631
Note: See TracChangeset for help on using the changeset viewer.