Skip to content

Commit

Permalink
made pragma comment only for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Syntaf committed Aug 12, 2014
1 parent d66b0a6 commit 2a002fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
#include "opencl/cl_particle_updater.hpp"
#endif

#ifdef WIN32
#pragma comment(linker, "/SUBSYSTEM:windows /ENTRY:mainCRTStartup")
#endif

int main(int argc, char* argv[]) {

Expand Down

0 comments on commit 2a002fe

Please sign in to comment.