diff src/emacs.c @ 5827:4d7032d36975

Allow building --without-tls on the Windows native platform
author Vin Shelton <acs@xemacs.org>
date Mon, 10 Nov 2014 13:43:46 -0500
parents a216b3c2b09e
children e2fae7783046
line wrap: on
line diff
--- a/src/emacs.c	Mon Nov 10 13:22:49 2014 -0500
+++ b/src/emacs.c	Mon Nov 10 13:43:46 2014 -0500
@@ -1606,7 +1606,9 @@
       syms_of_scrollbar ();
 #endif
       syms_of_text ();
+#ifdef WITH_TLS
       syms_of_tls ();
+#endif
 #ifdef HAVE_TOOLBARS
       syms_of_toolbar ();
 #endif
@@ -2217,7 +2219,9 @@
       vars_of_symbols ();
       vars_of_syntax ();
       vars_of_text ();
+#ifdef WITH_TLS
       vars_of_tls ();
+#endif
 #ifdef HAVE_TOOLBARS
       vars_of_toolbar ();
 #endif
@@ -2680,8 +2684,10 @@
   init_device_tty ();
 #endif
   init_console_stream (restart); /* Create the first console */
+#ifdef WITH_TLS
   if (initialized && !restart)
     init_tls ();
+#endif
 
   /* try to get the actual pathname of the exec file we are running */
   if (!restart)