aboutsummaryrefslogtreecommitdiffstats
path: root/lang/xds/files/patch-C__X2C.c
blob: 6afc60bcfd8e59fa16393a201a835a4b753ed5d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- C/X2C.c.orig    2001-09-25 07:56:48.000000000 +0000
+++ C/X2C.c 2007-01-24 15:12:15.000000000 +0000
@@ -700,7 +700,7 @@
    iprocs[3]=iproc3;
    iprocs_cnt=4;
 
-#if defined(__linux__) && defined(__i386__) && defined(X2C_native_library)
+#if (defined(__linux__) || defined (__FreeBSD__) || defined(__DragonFly__)) && defined(__i386__) && defined(X2C_native_library)
         stk_up  = 0;
         ss_offs = -1;
         sp_offs = (int) &((*(X2C_jmp_buf*)(0))[0].esp) / 4;