diff options
author | somov <[email protected]> | 2022-02-10 16:45:47 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:45:47 +0300 |
commit | a5950576e397b1909261050b8c7da16db58f10b1 (patch) | |
tree | 7ba7677f6a4c3e19e2cefab34d16df2c8963b4d4 /contrib/tools/yasm/libyasm-stdint.h | |
parent | 81eddc8c0b55990194e112b02d127b87d54164a9 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'contrib/tools/yasm/libyasm-stdint.h')
-rw-r--r-- | contrib/tools/yasm/libyasm-stdint.h | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/contrib/tools/yasm/libyasm-stdint.h b/contrib/tools/yasm/libyasm-stdint.h index a2a08a94173..2ad5dcfed49 100644 --- a/contrib/tools/yasm/libyasm-stdint.h +++ b/contrib/tools/yasm/libyasm-stdint.h @@ -1,46 +1,46 @@ -#ifndef YASM_STDINT_H -#define YASM_STDINT_H - -#define HAVE_STDINT_H - -#ifdef HAVE_STDINT_H -#include <stdint.h> -#elif defined(_MSC_VER) - -#ifndef _UINTPTR_T_DEFINED -#ifdef _WIN64 -#include <vadefs.h> -#else -typedef unsigned long uintptr_t; -#endif -#define _UINTPTR_T_DEFINED -#endif - -#else -typedef unsigned long uintptr_t; -#endif - -#ifndef BUILD_SHARED_LIBS -/* #undef BUILD_SHARED_LIBS */ -#define BUILD_SHARED_LIBS_UNDEF -#endif - -#ifndef YASM_LIB_DECL -# if defined(BUILD_SHARED_LIBS) && defined(_MSC_VER) -# ifdef YASM_LIB_SOURCE -# define YASM_LIB_DECL __declspec(dllexport) -# else -# define YASM_LIB_DECL __declspec(dllimport) -# endif -# else -# define YASM_LIB_DECL -# endif -#endif - -#undef HAVE_STDINT_H -#ifdef BUILD_SHARED_LIBS_UNDEF -#undef BUILD_SHARED_LIBS -#undef BUILD_SHARED_LIBS_UNDEF -#endif - -#endif +#ifndef YASM_STDINT_H +#define YASM_STDINT_H + +#define HAVE_STDINT_H + +#ifdef HAVE_STDINT_H +#include <stdint.h> +#elif defined(_MSC_VER) + +#ifndef _UINTPTR_T_DEFINED +#ifdef _WIN64 +#include <vadefs.h> +#else +typedef unsigned long uintptr_t; +#endif +#define _UINTPTR_T_DEFINED +#endif + +#else +typedef unsigned long uintptr_t; +#endif + +#ifndef BUILD_SHARED_LIBS +/* #undef BUILD_SHARED_LIBS */ +#define BUILD_SHARED_LIBS_UNDEF +#endif + +#ifndef YASM_LIB_DECL +# if defined(BUILD_SHARED_LIBS) && defined(_MSC_VER) +# ifdef YASM_LIB_SOURCE +# define YASM_LIB_DECL __declspec(dllexport) +# else +# define YASM_LIB_DECL __declspec(dllimport) +# endif +# else +# define YASM_LIB_DECL +# endif +#endif + +#undef HAVE_STDINT_H +#ifdef BUILD_SHARED_LIBS_UNDEF +#undef BUILD_SHARED_LIBS +#undef BUILD_SHARED_LIBS_UNDEF +#endif + +#endif |