diff options
| author | Miles Bader | 2008-05-14 04:28:51 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-05-14 04:28:51 +0000 |
| commit | ecae6af979abcbb5b45c33ee05ceb297678ec9a0 (patch) | |
| tree | 44e29aca29b1f5bc76cf9f856df0286596cc5184 /src/emacs.c | |
| parent | 131b3b112ad5405132ad5db55e0562b50477a94c (diff) | |
| parent | bb16531656a1daf7deec8a14e3a8a5fdb2c87818 (diff) | |
| download | emacs-ecae6af979abcbb5b45c33ee05ceb297678ec9a0.tar.gz emacs-ecae6af979abcbb5b45c33ee05ceb297678ec9a0.zip | |
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1159
Diffstat (limited to 'src/emacs.c')
| -rw-r--r-- | src/emacs.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emacs.c b/src/emacs.c index 7074076cf66..c401afafbd7 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -355,10 +355,10 @@ int fatal_error_in_progress; | |||
| 355 | 355 | ||
| 356 | void (*fatal_error_signal_hook) P_ ((void)); | 356 | void (*fatal_error_signal_hook) P_ ((void)); |
| 357 | 357 | ||
| 358 | #ifdef HAVE_GTK_AND_PTHREAD | 358 | #ifdef FORWARD_SIGNAL_TO_MAIN_THREAD |
| 359 | /* When compiled with GTK and running under Gnome, multiple threads may be | 359 | /* When compiled with GTK and running under Gnome, or Carbon under Mac |
| 360 | created. Keep track of our main thread to make sure signals are delivered | 360 | OS X, multiple threads may be created. Keep track of our main |
| 361 | to it (see syssignal.h). */ | 361 | thread to make sure signals are delivered to it (see syssignal.h). */ |
| 362 | 362 | ||
| 363 | pthread_t main_thread; | 363 | pthread_t main_thread; |
| 364 | #endif | 364 | #endif |
| @@ -1035,9 +1035,9 @@ main (argc, argv | |||
| 1035 | # endif /* not SYNC_INPUT */ | 1035 | # endif /* not SYNC_INPUT */ |
| 1036 | #endif /* not SYSTEM_MALLOC */ | 1036 | #endif /* not SYSTEM_MALLOC */ |
| 1037 | 1037 | ||
| 1038 | #ifdef HAVE_GTK_AND_PTHREAD | 1038 | #ifdef FORWARD_SIGNAL_TO_MAIN_THREAD |
| 1039 | main_thread = pthread_self (); | 1039 | main_thread = pthread_self (); |
| 1040 | #endif /* HAVE_GTK_AND_PTHREAD */ | 1040 | #endif /* FORWARD_SIGNAL_TO_MAIN_THREAD */ |
| 1041 | 1041 | ||
| 1042 | #if defined (MSDOS) || defined (WINDOWSNT) | 1042 | #if defined (MSDOS) || defined (WINDOWSNT) |
| 1043 | /* We do all file input/output as binary files. When we need to translate | 1043 | /* We do all file input/output as binary files. When we need to translate |