Mercurial > hg > xemacs-beta
comparison src/s/cygwin32.h @ 5877:abe88cd200c9
Configure support for 64-bit cygwin
author | Vin Shelton <acs@xemacs.org> |
---|---|
date | Thu, 26 Mar 2015 14:39:53 -0400 |
parents | 4dee0387b9de |
children |
comparison
equal
deleted
inserted
replaced
5876:0cebf04c18b5 | 5877:abe88cd200c9 |
---|---|
31 * When building make sure your HOME path is unix style - i.e. without | 31 * When building make sure your HOME path is unix style - i.e. without |
32 * a drive letter. | 32 * a drive letter. |
33 * | 33 * |
34 * once you have done this, configure and make. | 34 * once you have done this, configure and make. |
35 * | 35 * |
36 * windows '95 - I haven't tested this under '95, it will probably | |
37 * build but I know there are some limitations with cygwin under 95 so | |
38 * YMMV. I build with NT4 SP3. | |
39 * | |
40 * Andy Piper <andy@xemacs.org> 8/1/98 | 36 * Andy Piper <andy@xemacs.org> 8/1/98 |
41 * http://www.xemacs.freeserve.co.uk/ */ | 37 * http://www.xemacs.freeserve.co.uk/ */ |
42 | 38 |
43 #include "win32-common.h" | 39 #include "cygwin-common.h" |
44 | |
45 /* Identify ourselves */ | |
46 #define CYGWIN | |
47 | |
48 /* We are using Cygwin-style headers in /usr/include, also used by MinGW */ | |
49 #define CYGWIN_HEADERS | |
50 | |
51 /* cheesy way to determine cygwin version */ | |
52 #ifndef NOT_C_CODE | |
53 # include <signal.h> | |
54 # include <cygwin/version.h> | |
55 | |
56 /* Still left out of 1.1! */ | |
57 double logb (double); | |
58 int killpg (int pgrp, int sig); | |
59 | |
60 #endif | |
61 | |
62 #ifndef ORDINARY_LINK | |
63 #define ORDINARY_LINK | |
64 #endif | |
65 | |
66 #if __GNUC__ >= 3 | |
67 #define C_SWITCH_SYSTEM -fno-caller-saves | |
68 #else | |
69 #define C_SWITCH_SYSTEM -fno-caller-saves -fvtable-thunks | |
70 #endif | |
71 | |
72 #define LIBS_SYSTEM -lwinmm | |
73 #define WIN32_LEAN_AND_MEAN | |
74 | |
75 #define TEXT_START -1 | |
76 #define HEAP_IN_DATA | |
77 #define NO_LIM_DATA | |
78 | |
79 #define BROKEN_SIGIO | |
80 | |
81 #define CYGWIN_BROKEN_SIGNALS | |
82 | |
83 #define strnicmp strncasecmp | |
84 | |
85 #undef MAIL_USE_SYSTEM_LOCK | |
86 | 40 |
87 /* SYSTEM_TYPE should indicate the kind of system you are using. | 41 /* SYSTEM_TYPE should indicate the kind of system you are using. |
88 It sets the Lisp variable system-type. */ | 42 It sets the Lisp variable system-type. */ |
89 | 43 |
90 #define SYSTEM_TYPE "cygwin32" | 44 #define SYSTEM_TYPE "cygwin32" |
91 | |
92 /* Cygwin bogusly forgets to copy mmap()ed regions into the child when | |
93 a fork is done; thus, any reference to anything in mmap()ed space | |
94 (under PDUMP, in particular, this bites, since all data loaded from | |
95 PDUMP is normally done using mmap()) will cause an immediate segfault. */ | |
96 #undef HAVE_MMAP |