fixed compiler not getting includes right on linux
authorDavid Anderson <dvander@alliedmods.net>
Sat Jan 27 03:55:33 2007 +0000 (2007-01-27)
changeset 3941cb4fde24ab4
parent 393 5aa242c8a8e5
child 395 c6ee42bcb76d
fixed compiler not getting includes right on linux
sourcepawn/compiler/sc1.c
     1.1 --- a/sourcepawn/compiler/sc1.c	Sat Jan 27 03:46:48 2007 +0000
     1.2 +++ b/sourcepawn/compiler/sc1.c	Sat Jan 27 03:55:33 2007 +0000
     1.3 @@ -1118,12 +1118,6 @@
     1.4      /* add the default "include" directory */
     1.5      #if defined __WIN32__ || defined _WIN32
     1.6        GetModuleFileNameA(NULL,path,_MAX_PATH);
     1.7 -    #elif defined LINUX || defined __FreeBSD__ || defined __OpenBSD__
     1.8 -      /* see www.autopackage.org for the BinReloc module */
     1.9 -      br_init_lib(NULL);
    1.10 -      ptr=br_find_exe("spcomp");
    1.11 -      strlcpy(path,ptr,sizeof path);
    1.12 -      free(ptr);
    1.13      #else
    1.14        if (root!=NULL)
    1.15          strlcpy(path,root,sizeof path); /* path + filename (hopefully) */