diff options
Diffstat (limited to 'gl/minmax.h')
| -rw-r--r-- | gl/minmax.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gl/minmax.h b/gl/minmax.h index 1fbfc661..f3df58b0 100644 --- a/gl/minmax.h +++ b/gl/minmax.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* MIN, MAX macros. | 1 | /* MIN, MAX macros. |
| 2 | Copyright (C) 1995, 1998, 2001, 2003, 2005, 2009-2023 Free Software | 2 | Copyright (C) 1995, 1998, 2001, 2003, 2005, 2009-2024 Free Software |
| 3 | Foundation, Inc. | 3 | Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is free software: you can redistribute it and/or modify | 5 | This file is free software: you can redistribute it and/or modify |
| @@ -23,6 +23,11 @@ | |||
| 23 | MIN, MAX macro redefinitions on some systems; the workaround is to | 23 | MIN, MAX macro redefinitions on some systems; the workaround is to |
| 24 | #include this file as the last one among the #include list. */ | 24 | #include this file as the last one among the #include list. */ |
| 25 | 25 | ||
| 26 | /* This file uses HAVE_MINMAX_IN_LIMITS_H, HAVE_MINMAX_IN_SYS_PARAM_H. */ | ||
| 27 | #if !_GL_CONFIG_H_INCLUDED | ||
| 28 | #error "Please include config.h first." | ||
| 29 | #endif | ||
| 30 | |||
| 26 | /* Before we define the following symbols we get the <limits.h> file | 31 | /* Before we define the following symbols we get the <limits.h> file |
| 27 | since otherwise we get redefinitions on some systems if <limits.h> is | 32 | since otherwise we get redefinitions on some systems if <limits.h> is |
| 28 | included after this file. Likewise for <sys/param.h>. | 33 | included after this file. Likewise for <sys/param.h>. |
