mirror of
https://github.com/paxed/dgamelaunch.git
synced 2025-04-08 17:06:19 +02:00
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…
x
Reference in New Issue
Block a user