1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 09:39:42 +02:00
audacity/lib-src/lv2/windows/lilv_config.h
Benjamin Drung 787f2afd10 Introduce end-of-line normalization
Ensures that all files that Git considers to be text will have
normalized (LF) line endings in the repository. When core.eol is set to
native (which is the default), Git will convert the line endings of
normalized files in your working directory back to your platform's
native line ending.

See also https://git-scm.com/docs/gitattributes
2016-05-17 01:05:05 +02:00

39 lines
1.1 KiB
C
Executable File

/* WARNING! All changes made to this file will be lost! */
#ifndef W_LILV_CONFIG_H_WAF
#define W_LILV_CONFIG_H_WAF
#define HAVE_LV2 1
#define HAVE_SERD 1
#define HAVE_SORD 1
#define HAVE_SRATOM 1
#define LILV_NEW_LV2 1
/* #undef HAVE_FLOCK */
#define HAVE_FILENO 1
/* #undef HAVE_CLOCK_GETTIME */
#define LILV_VERSION "0.20.0"
#define LILV_PATH_SEP ";"
#define LILV_DIR_SEP "\\"
#define LILV_DEFAULT_LV2_PATH "%APPDATA%\\LV2;%COMMONPROGRAMFILES%\\LV2"
#include <windows.h>
#undef CreateSymbolicLink
inline BOOLEAN CreateSymbolicLink(LPCSTR lpSymlinkFileName,
LPCSTR lpTargetFileName,
DWORD dwFlags)
{
typedef BOOLEAN (WINAPI *CSL)(LPCSTR lpSymlinkFileName,
LPCSTR lpTargetFileName,
DWORD dwFlags);
CSL *symlink = (CSL *) GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")),
TEXT("CreateSymbolicLinkA"));
if (symlink)
{
return (*symlink)(lpSymlinkFileName, lpTargetFileName, dwFlags);
}
return FALSE;
}
#endif /* W_LILV_CONFIG_H_WAF */