diff --git a/include/ctype.h b/include/ctype.h index 3e560fb551..a24231030c 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -33,23 +33,6 @@ #include #include -/**************************************************************************** - * Macro Definitions - ****************************************************************************/ - -/* GNU libstdc++ is expecting ctype.h to define a few macros for - * locale related functions like C++ streams. - */ - -#define _U 01 -#define _L 02 -#define _N 04 -#define _S 010 -#define _P 020 -#define _C 040 -#define _X 0100 -#define _B 0200 - /**************************************************************************** * Inline Functions ****************************************************************************/ diff --git a/libs/libc/ctype/lib_ctype.c b/libs/libc/ctype/lib_ctype.c index c0bea821c1..b11e069906 100644 --- a/libs/libc/ctype/lib_ctype.c +++ b/libs/libc/ctype/lib_ctype.c @@ -26,6 +26,23 @@ #include +/**************************************************************************** + * Macro Definitions + ****************************************************************************/ + +/* GNU libstdc++ is expecting ctype.h to define a few macros for + * locale related functions like C++ streams. + */ + +#define _U 01 +#define _L 02 +#define _N 04 +#define _S 010 +#define _P 020 +#define _C 040 +#define _X 0100 +#define _B 0200 + /**************************************************************************** * Private Types ****************************************************************************/