emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r109369: Alphabetical order


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109369: Alphabetical order
Date: Wed, 01 Aug 2012 08:25:43 -0700
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109369
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2012-08-01 08:25:43 -0700
message:
  Alphabetical order
modified:
  src/conf_post.h
=== modified file 'src/conf_post.h'
--- a/src/conf_post.h   2012-08-01 15:24:23 +0000
+++ b/src/conf_post.h   2012-08-01 15:25:43 +0000
@@ -74,6 +74,22 @@
 #define vfork fork
 #endif  /* DARWIN_OS */
 
+/* We have to go this route, rather than the old hpux9 approach of
+   renaming the functions via macros.  The system's stdlib.h has fully
+   prototyped declarations, which yields a conflicting definition of
+   srand48; it tries to redeclare what was once srandom to be srand48.
+   So we go with HAVE_LRAND48 being defined.  */
+#ifdef HPUX
+#undef srandom
+#undef random
+/* We try to avoid checking for random and rint on hpux in
+   configure.ac, but some other configure test might check for them as
+   a dependency, so to be safe we also undefine them here.
+ */
+#undef HAVE_RANDOM
+#undef HAVE_RINT
+#endif  /* HPUX */
+
 #ifdef MSDOS
 #ifndef __DJGPP__
 You lose; /* Emacs for DOS must be compiled with DJGPP */
@@ -114,22 +130,6 @@
 #endif
 #endif  /* MSDOS */
 
-/* We have to go this route, rather than the old hpux9 approach of
-   renaming the functions via macros.  The system's stdlib.h has fully
-   prototyped declarations, which yields a conflicting definition of
-   srand48; it tries to redeclare what was once srandom to be srand48.
-   So we go with HAVE_LRAND48 being defined.  */
-#ifdef HPUX
-#undef srandom
-#undef random
-/* We try to avoid checking for random and rint on hpux in
-   configure.ac, but some other configure test might check for them as
-   a dependency, so to be safe we also undefine them here.
- */
-#undef HAVE_RANDOM
-#undef HAVE_RINT
-#endif
-
 #ifdef IRIX6_5
 #ifdef emacs
 char *_getpty();


reply via email to

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