aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorPaul Eggert2012-04-09 15:54:59 -0700
committerPaul Eggert2012-04-09 15:54:59 -0700
commit45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193 (patch)
tree5bc87a8b5a3c754b8eb44a612cc6c03561d6b968 /src/s
parent9d6b4d53469a9ffd67bd770fabc6fe254e35c21d (diff)
parent05920a43fc18e696b464387e781e7cfdcea5b5af (diff)
downloademacs-45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193.tar.gz
emacs-45e9f7da84c1bd3fc0d36d05c5708ed3b2d3a193.zip
Merge from trunk.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/gnu-linux.h3
-rw-r--r--src/s/ms-w32.h9
2 files changed, 9 insertions, 3 deletions
diff --git a/src/s/gnu-linux.h b/src/s/gnu-linux.h
index b54bd985e6b..c1233c0e6ce 100644
--- a/src/s/gnu-linux.h
+++ b/src/s/gnu-linux.h
@@ -146,9 +146,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
146 || defined __ia64__ || defined __sh__ 146 || defined __ia64__ || defined __sh__
147#define GC_SETJMP_WORKS 1 147#define GC_SETJMP_WORKS 1
148#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS 148#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
149#ifdef __mc68000__
150#define GC_LISP_OBJECT_ALIGNMENT 2
151#endif
152#ifdef __ia64__ 149#ifdef __ia64__
153#define GC_MARK_SECONDARY_STACK() \ 150#define GC_MARK_SECONDARY_STACK() \
154 do { \ 151 do { \
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index d533ae34ac3..e89ecb05931 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -159,6 +159,9 @@ struct sigaction {
159#undef HAVE_UTIMES 159#undef HAVE_UTIMES
160#undef HAVE_SETRLIMIT 160#undef HAVE_SETRLIMIT
161#undef HAVE_SETPGID 161#undef HAVE_SETPGID
162/* If you think about defining HAVE_GETCWD, don't: the alternative
163 getwd is redefined on w32.c, and does not really return the current
164 directory, to get the desired results elsewhere in Emacs */
162#undef HAVE_GETCWD 165#undef HAVE_GETCWD
163#define HAVE_SHUTDOWN 1 166#define HAVE_SHUTDOWN 1
164 167
@@ -286,6 +289,12 @@ typedef int pid_t;
286#define stricmp _stricmp 289#define stricmp _stricmp
287#define tzset _tzset 290#define tzset _tzset
288 291
292/* Include time.h before redirecting tzname, since MSVC's time.h
293 defines _tzname to call a function, but also declares tzname a
294 2-element array. Having the redirection before including the
295 header thus has the effect of declaring a function that returns an
296 array, and triggers an error message. */
297#include <time.h>
289#define tzname _tzname 298#define tzname _tzname
290#if !defined (_MSC_VER) || (_MSC_VER < 1400) 299#if !defined (_MSC_VER) || (_MSC_VER < 1400)
291#undef utime 300#undef utime