2 Copyright (C) 2009 John Emmas
4 This program 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 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 #ifndef __msvc_libardour_h__
20 #define __msvc_libardour_h__
22 #include <ardour/libardour_visibility.h>
29 #define PATH_MAX _MAX_PATH
32 #define LIBARDOUR_APICALLTYPE __cdecl
38 #endif /* __cplusplus */
40 // LIBARDOUR_API char* LIBARDOUR_APICALLTYPE placeholder_for_non_msvc_specific_function(s);
44 #endif /* __cplusplus */
53 #define __THROW throw()
55 #include <ardourext/sys/time.h>
61 #endif /* __cplusplus */
63 LIBARDOUR_API int LIBARDOUR_APICALLTYPE symlink(const char *dest, const char *shortcut, const char *working_directory = 0);
64 LIBARDOUR_API int LIBARDOUR_APICALLTYPE readlink(const char *__restrict shortcut, char *__restrict buf, size_t bufsize);
68 #endif /* __cplusplus */
72 #endif // COMPILER_MSVC
73 #endif // __mavc_libardour_h__