aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabrice Popineau2012-10-01 16:25:40 +0200
committerEli Zaretskii2012-10-01 16:25:40 +0200
commitb3317662acc0157406c20c8e14c43b7126eaa8a0 (patch)
treeeaab4f1bf493387c70c636c5e2a0f5ec77db70aa /src
parent3d3bfa248930841abe983c5beb9ad095067d2410 (diff)
downloademacs-b3317662acc0157406c20c8e14c43b7126eaa8a0.tar.gz
emacs-b3317662acc0157406c20c8e14c43b7126eaa8a0.zip
Fix minor compilation problem with MSVC.
src/emacs.c: Move the inclusion of TERM_HEADER after including windows.h on WINDOWSNT. This avoids compilation problems with MSVC.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/emacs.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 074c74a70e2..fd523dd0f1e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12012-10-01 Fabrice Popineau <fabrice.popineau@gmail.com>
2
3 * emacs.c: Move the inclusion of TERM_HEADER after including
4 windows.h on WINDOWSNT. This avoids compilation problems with
5 MSVC.
6
12012-10-01 Eli Zaretskii <eliz@gnu.org> 72012-10-01 Eli Zaretskii <eliz@gnu.org>
2 8
3 * unexw32.c (OFFSET_TO_RVA, RVA_TO_OFFSET) 9 * unexw32.c (OFFSET_TO_RVA, RVA_TO_OFFSET)
diff --git a/src/emacs.c b/src/emacs.c
index f3f2081e2e9..a603a56b792 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -31,10 +31,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
31 31
32#include "lisp.h" 32#include "lisp.h"
33 33
34#ifdef HAVE_WINDOW_SYSTEM
35#include TERM_HEADER
36#endif /* HAVE_WINDOW_SYSTEM */
37
38#ifdef WINDOWSNT 34#ifdef WINDOWSNT
39#include <fcntl.h> 35#include <fcntl.h>
40#include <windows.h> /* just for w32.h */ 36#include <windows.h> /* just for w32.h */
@@ -42,6 +38,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
42#include "w32heap.h" /* for prototype of sbrk */ 38#include "w32heap.h" /* for prototype of sbrk */
43#endif 39#endif
44 40
41#ifdef HAVE_WINDOW_SYSTEM
42#include TERM_HEADER
43#endif /* HAVE_WINDOW_SYSTEM */
44
45#ifdef NS_IMPL_GNUSTEP 45#ifdef NS_IMPL_GNUSTEP
46/* At least under Debian, GSConfig is in a subdirectory. --Stef */ 46/* At least under Debian, GSConfig is in a subdirectory. --Stef */
47#include <GNUstepBase/GSConfig.h> 47#include <GNUstepBase/GSConfig.h>