summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>1999-07-14 07:04:00 +0000
committercls%seawood.org <devnull@localhost>1999-07-14 07:04:00 +0000
commit09eed31bddeb56408e7ad73f8110a27c12533967 (patch)
treeac5513ca5a8ada7bf499bc606eaf856517586929
parent6577d03bba40b7bb994559103b5343cd3d66c815 (diff)
downloadnspr-hg-09eed31bddeb56408e7ad73f8110a27c12533967.tar.gz
Added detection for dlltool and windres which are needed to build dlls.
Changed rules.mk so MKSHLIB is now expected to contain the appropriate option to state what the object file is (ie, -o $*.so) Unhardcoded OBJ_SUFFIX, DLL_SUFFIX, & LIB_SUFFIX. Successfully compiled and linked a static nspr test program (alarm & fsync) using linux->mingw32 cross-compiler and successfully ran it on a win95 box.
-rw-r--r--pr/tests/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pr/tests/time.c b/pr/tests/time.c
index 9dc4edb8..b27dc1a1 100644
--- a/pr/tests/time.c
+++ b/pr/tests/time.c
@@ -39,6 +39,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/time.h>
#define DEFAULT_COUNT 100000
PRInt32 count;
@@ -79,7 +80,6 @@ static void timeGethrtime(void)
rv = ftime();
}
-#include <sys/time.h>
static void timeGettimeofday(void)
{
PRInt32 index = count;