X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fxstrtoul.h;h=76b728f8646a0c93ba62b1c994ab258b27fe47db;hb=cd988caa7e078e616f1f411197b4ea9b5208c00e;hp=8251c57db48580fcd85659d9343dc2a528068d0c;hpb=3af47ca3f672f6c43bc63843a91ecfac278d846f;p=gnulib.git diff --git a/lib/xstrtoul.h b/lib/xstrtoul.h index 8251c57db..76b728f86 100644 --- a/lib/xstrtoul.h +++ b/lib/xstrtoul.h @@ -1,7 +1,13 @@ -#ifndef _xstrtoul_h_ -#define _xstrtoul_h_ 1 +#ifndef XSTRTOUL_H_ +# define XSTRTOUL_H_ 1 -#define STRING_TO_UNSIGNED 1 -#include "xstrtol.h" +# define STRING_TO_UNSIGNED 1 -#endif /* _xstrtoul_h_ */ +/* 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_ */