summaryrefslogtreecommitdiff
path: root/src/pal/inc
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2016-02-12 03:40:30 +0100
committerKamil Rytarowski <n54@gmx.com>2016-02-14 15:07:15 +0100
commiteff2c6e57d957f94129993a5e32ed93925ef289d (patch)
tree60ae688c393bfbde7ab76d88935d0e81a3fd9e34 /src/pal/inc
parentf3a008bf45b6cc8c150afd0416da59a5f23573f8 (diff)
downloadcoreclr-eff2c6e57d957f94129993a5e32ed93925ef289d.tar.gz
coreclr-eff2c6e57d957f94129993a5e32ed93925ef289d.tar.bz2
coreclr-eff2c6e57d957f94129993a5e32ed93925ef289d.zip
Fix build issue on NetBSD: Add time(3) to PAL
Otherwise it triggers linker warnings. /tmp/pkgsrc-tmp/wip/coreclr-git/work/coreclr/src/gc/gc.cpp:33869: warning: warning: reference to compatibility time(); include <time.h> for correct reference $ uname -a NetBSD chieftec 7.99.25 NetBSD 7.99.25 (GENERIC) #0: Fri Dec 25 20:51:06 UTC 2015 root@chieftec:/tmp/netbsd-tmp/sys/arch/amd64/compile/GENERIC amd64
Diffstat (limited to 'src/pal/inc')
-rw-r--r--src/pal/inc/pal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h
index cc4a695d04..0aa436504a 100644
--- a/src/pal/inc/pal.h
+++ b/src/pal/inc/pal.h
@@ -6027,6 +6027,7 @@ CoCreateGuid(OUT GUID * pguid);
#define localtime PAL_localtime
#define mktime PAL_mktime
#define rand PAL_rand
+#define time PAL_time
#define getenv PAL_getenv
#define fgets PAL_fgets
#define fgetws PAL_fgetws