Tidied win32 stuff

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4237 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-05-11 09:21:38 +00:00
parent e45bba803d
commit a1aa99475c
16 changed files with 104 additions and 51 deletions

View file

@ -53,6 +53,7 @@
*************************************************************************/
#include <config.h>
#include <base/preface.h>
/* One of these two should have MAXHOSTNAMELEN */
#ifndef __WIN32__
@ -171,7 +172,7 @@ _gnu_process_args(int argc, char *argv[], char *env[])
i = 0;
while (env[i])
{
#if defined(__WIN32__) || defined(_WIN32)
#if defined(__WIN32__)
char buf[1024];
char *cp;
DWORD len;
@ -429,7 +430,7 @@ int main(int argc, char *argv[], char *env[])
{
int pid;
#if defined(__WIN32__) || defined(_WIN32)
#if defined(__WIN32__)
pid = (int)GetCurrentProcessId(),
#else
pid = (int)getpid();