rearrange preprocessor stuff
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@148 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
parent
b085111838
commit
8ea6b70149
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue