Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.3 KiB

  1. /***
  2. *nlsdata1.c - globals for international library - small globals
  3. *
  4. * Copyright (c) 1991-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * This module contains the globals: __mb_cur_max, _decimal_point,
  8. * _decimal_point_length. This module is always required.
  9. * This module is separated from nlsdatax.c for granularity.
  10. *
  11. *Revision History:
  12. * 12-01-91 ETC Created.
  13. * 04-03-92 PLM Changes tdef.h to tchar.h
  14. * 08-18-92 KRS Rip out _tflag--not used.
  15. * 04-14-93 SKS Change __mb_cur_max from unsigned short to int
  16. * 09-15-93 CFW Use ANSI conformant "__" names.
  17. * 04-08-94 GJF Added conditional so these definitions are not built
  18. * for the Win32s version of msvcrt*.dll.
  19. * 09-06-94 CFW Remove _INTL switch.
  20. * 09-27-94 CFW Don't overwrite static string.
  21. * 05-13-99 PML Remove Win32s
  22. *
  23. *******************************************************************************/
  24. #include <stdlib.h>
  25. #include <nlsint.h>
  26. /*
  27. * Value of MB_CUR_MAX macro.
  28. */
  29. int __mb_cur_max = 1;
  30. /*
  31. * Localized decimal point string.
  32. */
  33. char __decimal_point[] = ".";
  34. /*
  35. * Decimal point length, not including terminating null.
  36. */
  37. size_t __decimal_point_length = 1;