changeset 872:6e9358a1ff93

(XSTRTOL_H): Undefine it.
author Jim Meyering <jim@meyering.net>
date Sat, 25 Jan 1997 06:17:13 +0000
parents 759a0cbe32e1
children fdc193c2884e
files lib/xstrtoul.h
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/xstrtoul.h
+++ b/lib/xstrtoul.h
@@ -2,6 +2,12 @@
 # define XSTRTOUL_H_ 1
 
 # define STRING_TO_UNSIGNED 1
+
+/* Undefine this symbol so we can include xstrtol.h a second time.
+   Otherwise, a program that wanted both xstrtol.h and xstrtoul.h
+   would never get the declaration corresponding to the header file 
+   included after the first one.  */
+# undef XSTRTOL_H_
 # include "xstrtol.h"
 
 #endif /* not XSTRTOUL_H_ */