ytk: some #defines need to be different when building with MSVC

This commit is contained in:
John Emmas
2024-12-02 10:55:02 +00:00
parent 99a4f37af4
commit 7a5fe4c5a1
2 changed files with 12 additions and 0 deletions

View File

@@ -17,8 +17,10 @@
#define HAVE_BROKEN_WCTYPE 1
#endif
#ifndef _MSC_VER
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
#endif
/* Define to 1 if you have the `getresuid' function. */
#if !(defined PLATFORM_WINDOWS || defined __APPLE__)
@@ -61,8 +63,10 @@
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
#ifndef _MSC_VER
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
#endif
/* Define to 1 if sys/sysinfo.h is available */
#if !(defined PLATFORM_WINDOWS || defined __APPLE__)

View File

@@ -1,6 +1,10 @@
/* always defined to indicate that i18n is enabled */
/* #undef ENABLE_NLS */
#ifdef _MSC_VER
#define GETTEXT_PACKAGE "gtk20"
#endif
/* Define the location where the catalogs will be installed */
#define GTK_LOCALEDIR "/ardour/share/locale"
@@ -14,8 +18,10 @@
#define HAVE_BROKEN_WCTYPE 1
#endif
#ifndef _MSC_VER
/* Define to 1 if you have the <ftw.h> header file. */
#define HAVE_FTW_H 1
#endif
/* Define to 1 if you have the `getresuid' function. */
#if !(defined PLATFORM_WINDOWS || defined __APPLE__)
@@ -58,8 +64,10 @@
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
#ifndef _MSC_VER
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1
#endif
/* Define to 1 if sys/sysinfo.h is available */
#if !(defined PLATFORM_WINDOWS || defined __APPLE__)