Merge in changes from NET-Community.

Add DLL support on Windows platforms.
Numerous minor bug fixes related to Windows platforms.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2420 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Scott Christley 1997-09-13 17:52:31 +00:00
parent e149f41c85
commit 4a99922d47
48 changed files with 2409 additions and 697 deletions

View file

@ -189,7 +189,7 @@ id monthNames;
#endif
return ((long)((end_tms.tms_utime - start_tms.tms_utime +
end_tms.tms_stime - start_tms.tms_stime) * 1000) / CLK_TCK);
#elif __WIN32__
#elif defined(__WIN32__) || defined(_WIN32)
DWORD start_tick, end_tick;
start_tick = GetTickCount();
@ -214,7 +214,7 @@ id monthNames;
{
#if HAVE_TIMES
struct tms start_tms, end_tms;
#elif __WIN32__
#elif defined(__WIN32__) || defined(_WIN32)
DWORD start_tick, end_tick;
#else
struct rusage start_ru, end_ru;
@ -225,7 +225,7 @@ id monthNames;
times(&start_tms);
(*aFunc)();
times(&end_tms);
#elif __WIN32__
#elif defined(__WIN32__) || defined(_WIN32)
#else
getrusage(RUSAGE_SELF, &start_ru);
(*aFunc)();