revamp MSVC build system, separate dynamic and static builds, separate debug and release intermediate directories

This commit is contained in:
Josh Coalson
2002-11-21 09:00:25 +00:00
parent 48404ff9c3
commit bfc8e319c2
76 changed files with 2169 additions and 449 deletions

View File

@@ -1,23 +1,6 @@
#ifndef SHARE__UTF8_H
#define SHARE__UTF8_H
#if defined(FLAC__NO_DLL) || defined(unix) || defined(__CYGWIN__) || defined(__CYGWIN32__)
#define UTF8_API
#else
#ifdef UTF8_API_EXPORTS
#define UTF8_API _declspec(dllexport)
#else
#define UTF8_API _declspec(dllimport)
#define __LIBNAME__ "utf8.lib"
#pragma comment(lib, __LIBNAME__)
#undef __LIBNAME__
#endif
#endif
/*
* Convert a string between UTF-8 and the locale's charset.
* Invalid bytes are replaced by '#', and characters that are
@@ -36,9 +19,9 @@
* 3 : unknown encoding (but still converted, using '?')
*/
UTF8_API void convert_set_charset(const char *charset);
void convert_set_charset(const char *charset);
UTF8_API int utf8_encode(const char *from, char **to);
UTF8_API int utf8_decode(const char *from, char **to);
int utf8_encode(const char *from, char **to);
int utf8_decode(const char *from, char **to);
#endif