From a8db5c4adffe942db0cf8ad6f7db8611d3637993 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 11 May 2004 17:59:15 +0200
Subject: [PATCH] Moved the #undef events around some more.

Rev: src/modules/files/udp.c:1.66
---
 src/modules/files/udp.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/modules/files/udp.c b/src/modules/files/udp.c
index 6ba1711cce..237dac3d42 100644
--- a/src/modules/files/udp.c
+++ b/src/modules/files/udp.c
@@ -2,7 +2,7 @@
 || This file is part of Pike. For copyright information see COPYRIGHT.
 || Pike is distributed under GPL, LGPL and MPL. See the file COPYING
 || for more information.
-|| $Id: udp.c,v 1.65 2004/05/07 21:07:03 grubba Exp $
+|| $Id: udp.c,v 1.66 2004/05/11 15:59:15 grubba Exp $
 */
 
 #define NO_PIKE_SHORTHAND
@@ -10,7 +10,7 @@
 
 #include "file_machine.h"
 
-RCSID("$Id: udp.c,v 1.65 2004/05/07 21:07:03 grubba Exp $");
+RCSID("$Id: udp.c,v 1.66 2004/05/11 15:59:15 grubba Exp $");
 #include "fdlib.h"
 #include "pike_netlib.h"
 #include "interpret.h"
@@ -300,13 +300,6 @@ void udp_enable_broadcast(INT32 args)
 #endif /* SO_BROADCAST */
 }
 
-/* NOTE: Some versions of AIX seem to have a
- *         #define events reqevents
- *       in one of the poll headerfiles. This will break
- *       the fd_box event handling.
- */
-#undef events
-
 /*! @decl int(0..1) wait(int|float timeout)
  *!
  *! Check for data and wait max. @[timeout] seconds.
@@ -393,6 +386,13 @@ void udp_wait(INT32 args)
   push_int(res);
 }
 
+/* NOTE: Some versions of AIX seem to have a
+ *         #define events reqevents
+ *       in one of the poll headerfiles. This will break
+ *       the fd_box event handling.
+ */
+#undef events
+
 #define UDP_BUFFSIZE 65536
 
 /*! @decl mapping(string:int|string) read()
-- 
GitLab