summaryrefslogtreecommitdiff
path: root/lang/ossp-js/patches/patch-ah
blob: aca26bd6fa3ab982c0c077af89e3c4adf4eca4e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ah,v 1.2 2015/12/29 23:34:53 dholland Exp $

Support more OSes.

--- src/jsosdep.h.orig	2005-07-07 18:35:39.000000000 -0400
+++ src/jsosdep.h
@@ -89,6 +89,15 @@
 #elif defined(FREEBSD)
 #define JS_HAVE_LONG_LONG
 
+#elif defined(__NetBSD__)
+#define JS_HAVE_LONG_LONG
+
+#elif defined(__OpenBSD__)
+#define JS_HAVE_LONG_LONG
+
+#elif defined(__DragonFly__)
+#define JS_HAVE_LONG_LONG
+
 #elif defined(SUNOS4)
 #undef JS_HAVE_LONG_LONG