emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/emacs.c


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/src/emacs.c
Date: Fri, 26 May 2006 18:45:10 +0000

Index: emacs/src/emacs.c
diff -u emacs/src/emacs.c:1.388 emacs/src/emacs.c:1.389
--- emacs/src/emacs.c:1.388     Thu May 25 16:27:30 2006
+++ emacs/src/emacs.c   Fri May 26 18:45:09 2006
@@ -1749,16 +1749,21 @@
 #endif
     }
 
-  /* Set up for profiling.  This is known to work on FreeBSD and
-     GNU/Linux.  It might work on some other systems too.  Give it a
-     try and tell us if it works on your system.  To compile for
-     profiling use something like `make CFLAGS="-pg -g -O -DPROFILING=1'.  */
-#if defined (__FreeBSD__) || defined (GNU_LINUX)
+  /* Set up for profiling.  This is known to work on FreeBSD,
+     GNU/Linux and MinGW.  It might work on some other systems too.
+     Give it a try and tell us if it works on your system.  To compile
+     for profiling use something like:
+       `make CFLAGS="-pg -g -O -DPROFILING=1'.  */
+#if defined (__FreeBSD__) || defined (GNU_LINUX) || defined(__MINGW32__)
 #ifdef PROFILING
   if (initialized)
     {
       extern void _mcleanup ();
+#ifdef __MINGW32__
+      extern unsigned char etext asm ("etext");
+#else
       extern char etext;
+#endif
       extern void safe_bcopy ();
       extern void dump_opcode_frequencies ();
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]