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.
 
 
 
 
 
 

75 lines
1.9 KiB

  1. /*
  2. * Configuration file for WINAPI
  3. *
  4. * Copyright (C) 2008-2019, Joachim Metz <joachim.metz@gmail.com>
  5. *
  6. * Refer to AUTHORS for acknowledgements.
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU Lesser General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU Lesser General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. */
  21. #if !defined( _CONFIG_WINAPI_H )
  22. #define _CONFIG_WINAPI_H
  23. /* Define the earliest supported WINAPI version
  24. #define WINVER 0x0501
  25. */
  26. /* If necessary make sure WINAPI is defined
  27. */
  28. #if defined( HAVE_WINDOWS_H ) || defined( __BORLANDC__ ) || defined( _MSC_VER )
  29. #include <windows.h>
  30. #endif
  31. #if defined( WINAPI )
  32. /* Define to the address where bug reports for this package should be sent.
  33. */
  34. #define PACKAGE_BUGREPORT "joachim.metz@gmail.com"
  35. /* Define the size of the wide character for WINAPI
  36. */
  37. #if !defined( SIZEOF_WCHAR_T )
  38. #define SIZEOF_WCHAR_T 2
  39. #endif
  40. /* Enable the DllMain function
  41. */
  42. #define HAVE_DLLMAIN 1
  43. /* Enable verbose output
  44. #define HAVE_VERBOSE_OUTPUT 1
  45. */
  46. /* Enable debug output
  47. #define HAVE_DEBUG_OUTPUT 1
  48. */
  49. /* Enable both the narrow and wide character functions
  50. */
  51. #if !defined( HAVE_WIDE_CHARACTER_TYPE )
  52. #define HAVE_WIDE_CHARACTER_TYPE 1
  53. #endif
  54. /* If not controlled by config.h enable multi-thread support
  55. */
  56. #if !defined( HAVE_CONFIG_H ) && !defined( HAVE_MULTI_THREAD_SUPPORT )
  57. #define HAVE_MULTI_THREAD_SUPPORT 1
  58. #endif
  59. #endif /* defined( WINAPI ) */
  60. #endif /* !defined( _CONFIG_WINAPI_H ) */