fent que funcione en make
This commit is contained in:
7
main.cpp
7
main.cpp
@@ -8,13 +8,16 @@
|
||||
#include "time.h"
|
||||
#include <string>
|
||||
|
||||
/*
|
||||
#ifndef WIN32
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
*/
|
||||
|
||||
int main( int argc, char* args[] ) {
|
||||
|
||||
#ifdef WIN32
|
||||
JF_SetResourceFile("data.jrf");
|
||||
/*#ifdef WIN32
|
||||
JF_SetResourceFile("data.jrf");
|
||||
#else
|
||||
char res_file[255] = "";
|
||||
@@ -27,7 +30,7 @@ int main( int argc, char* args[] ) {
|
||||
printf("ARXIU DE RECURSOS: %s\n", res_file);
|
||||
JF_SetResourceFile(res_file);
|
||||
#endif
|
||||
|
||||
*/
|
||||
srand( unsigned(time(NULL)) );
|
||||
|
||||
JG_Init();
|
||||
|
||||
Reference in New Issue
Block a user