mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-19 03:55:43 -04:00

- `inline` isn't defined in C mode in MSVC 2010 and 2013. (It might be in 2015 and 2017?) - main() must be `__cdecl`, but we're defaulting to `__stdcall` in 32-bit builds. - myfileno(): Added a missing semicolon.
55 lines
1.1 KiB
C
Vendored
55 lines
1.1 KiB
C
Vendored
/**
|
|
* @ingroup lib_unice68
|
|
* @file unice68_private.h
|
|
* @author Benjamin Gerard
|
|
* @date 2016/07/29
|
|
* @brief ICE! depacker private header.
|
|
*/
|
|
|
|
/* Copyright (c) 1998-2016 Benjamin Gerard */
|
|
|
|
#define BUILD_UNICE68 1
|
|
|
|
#ifdef UNICE68_H
|
|
# error unice68_private.h must be include before unice68.h
|
|
#endif
|
|
|
|
#ifdef UNICE68_PRIVATE_H
|
|
# error unice68_private.h must be include once
|
|
#endif
|
|
#define UNICE68_PRIVATE_H 1
|
|
|
|
#ifdef HAVE_PRIVATE_H
|
|
# include "private.h"
|
|
#endif
|
|
|
|
/* ---------------------------------------------------------------- */
|
|
|
|
#if defined(DEBUG) && !defined(_DEBUG)
|
|
# define _DEBUG DEBUG
|
|
#elif !defined(DEBUG) && defined(_DEBUG)
|
|
# define DEBUG _DEBUG
|
|
#endif
|
|
|
|
#ifndef UNICE68_WIN32
|
|
# if defined(WIN32) || defined(_WIN32) || defined(__SYMBIAN32__)
|
|
# define UNICE68_WIN32 1
|
|
# endif
|
|
#endif
|
|
|
|
#if defined(DLL_EXPORT) && !defined(unice68_lib_EXPORTS)
|
|
# define unice68_lib_EXPORTS DLL_EXPORT
|
|
#endif
|
|
|
|
#ifndef UNICE68_API
|
|
# if defined(UNICE68_WIN32) && defined(unice68_lib_EXPORTS)
|
|
# define UNICE68_API __declspec(dllexport)
|
|
# endif
|
|
#endif
|
|
|
|
#ifdef _MSC_VER
|
|
# ifndef __cplusplus
|
|
# define inline __inline
|
|
# endif
|
|
#endif
|