langinfo.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /* Replacement langinfo.h file for building GNU Emacs on Windows.
  2. Copyright (C) 2006-2012 Free Software Foundation, Inc.
  3. This file is part of GNU Emacs.
  4. GNU Emacs is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. GNU Emacs is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
  14. #ifndef _LANGINFO_H
  15. #define _LANGINFO_H
  16. #include <nl_types.h>
  17. enum {
  18. CODESET,
  19. DAY_1, DAY_2, DAY_3, DAY_4, DAY_5, DAY_6, DAY_7,
  20. MON_1, MON_2, MON_3, MON_4, MON_5, MON_6, MON_7, MON_8, MON_9, MON_10,
  21. MON_11, MON_12,
  22. /* Number of enumerated values. */
  23. _NL_NUM
  24. };
  25. #define CODESET CODESET
  26. #define DAY_1 DAY_1
  27. #define DAY_2 DAY_2
  28. #define DAY_3 DAY_3
  29. #define DAY_4 DAY_4
  30. #define DAY_5 DAY_5
  31. #define DAY_6 DAY_6
  32. #define DAY_7 DAY_7
  33. #define MON_1 MON_1
  34. #define MON_2 MON_2
  35. #define MON_3 MON_3
  36. #define MON_4 MON_4
  37. #define MON_5 MON_5
  38. #define MON_6 MON_6
  39. #define MON_7 MON_7
  40. #define MON_8 MON_8
  41. #define MON_9 MON_9
  42. #define MON_10 MON_10
  43. #define MON_11 MON_11
  44. #define MON_12 MON_12
  45. extern char *nl_langinfo (nl_item);
  46. #endif /* _LANGINFO_H */