aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2012-07-31 19:02:12 -0400
committerGlenn Morris2012-07-31 19:02:12 -0400
commit476b1b2da13aabbc29083282b8850d9522ab2982 (patch)
tree17431f5e3822df049e7e2887e5c8cd262ffaa696 /src
parentf1a71c6e3d66758270a98c9a4c104116c53f619e (diff)
downloademacs-476b1b2da13aabbc29083282b8850d9522ab2982.tar.gz
emacs-476b1b2da13aabbc29083282b8850d9522ab2982.zip
Minor rearrangement for src/conf_post.h
* src/conf_post.h (config_opsysfile): Move earlier, so that WINDOWSNT is available. (alloca.h) [WINDOWSNT]: Don't include it on MS Windows.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/conf_post.h12
2 files changed, 11 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 46302316204..ccbb5ae5764 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
12012-07-31 Glenn Morris <rgm@gnu.org> 12012-07-31 Glenn Morris <rgm@gnu.org>
2 2
3 * conf_post.h (config_opsysfile): Move earlier, so that WINDOWSNT
4 is available.
5 (alloca.h) [WINDOWSNT]: Don't include it on MS Windows.
6
3 * process.h (NULL_DEVICE): 7 * process.h (NULL_DEVICE):
4 * emacs.c (SEPCHAR): 8 * emacs.c (SEPCHAR):
5 * editfns.c (USER_FULL_NAME): Let configure set them. 9 * editfns.c (USER_FULL_NAME): Let configure set them.
diff --git a/src/conf_post.h b/src/conf_post.h
index aa09ae7228c..c4a27c10d85 100644
--- a/src/conf_post.h
+++ b/src/conf_post.h
@@ -27,11 +27,18 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
27 27
28/* Code: */ 28/* Code: */
29 29
30/* Include any platform specific configuration file. */
31#ifdef config_opsysfile
32# include config_opsysfile
33#endif
34
35#ifndef WINDOWSNT
30/* On AIX 3 this must be included before any other include file. */ 36/* On AIX 3 this must be included before any other include file. */
31#include <alloca.h> 37#include <alloca.h>
32#if ! HAVE_ALLOCA 38#if ! HAVE_ALLOCA
33# error "alloca not available on this machine" 39# error "alloca not available on this machine"
34#endif 40#endif
41#endif
35 42
36#ifdef SIGNAL_H_AHB 43#ifdef SIGNAL_H_AHB
37#undef SIGNAL_H_AHB 44#undef SIGNAL_H_AHB
@@ -107,11 +114,6 @@ char *_getpty();
107#endif 114#endif
108#endif /* USG5_4 */ 115#endif /* USG5_4 */
109 116
110/* Include the os dependent file. */
111#ifdef config_opsysfile
112# include config_opsysfile
113#endif
114
115/* Mac OS X / GNUstep need a bit more pure memory. Of the existing knobs, 117/* Mac OS X / GNUstep need a bit more pure memory. Of the existing knobs,
116 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */ 118 SYSTEM_PURESIZE_EXTRA seems like the least likely to cause problems. */
117#ifdef HAVE_NS 119#ifdef HAVE_NS