rearrange preprocessor stuff

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@148 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-01-23 16:40:51 +00:00
parent b085111838
commit 8ea6b70149
1 changed files with 2 additions and 4 deletions

View File

@ -60,10 +60,6 @@
# include <libutil.h>
#endif
#if defined(__linux__) || defined(BSD)
# define mysetenv setenv
#endif
#ifdef __linux__
# include <pty.h>
#endif
@ -149,6 +145,8 @@ mysetenv (const char* name, const char* value, int overwrite)
return retval;
}
#else /* use native setenv */
# define mysetenv setenv
#endif /* !linux && !bsd */
void