Changeset 2241 for trunk/tools


Ignore:
Timestamp:
Jan 21, 2013, 2:11:58 PM (8 years ago)
Author:
sam
Message:

core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/neercs/neercs.cpp

    r2237 r2241  
    77#if defined HAVE_CONFIG_H
    88#   include "config.h"
    9 #endif
    10 
    11 #if defined _WIN32
    12 #   include <direct.h>
    139#endif
    1410
     
    7571    Application app("Neercs", ivec2(800, 600), 60.0f);
    7672
    77 #if defined _MSC_VER && !defined _XBOX
    78     _chdir("../..");
    79 #elif defined _WIN32 && !defined _XBOX
    80     _chdir("../..");
    81 #endif
    82 
    8373    new Neercs(argc, argv);
    8474    app.ShowPointer(false);
Note: See TracChangeset for help on using the changeset viewer.