#if defined(_WIN32)
#  define __LITTLE_ENDIAN__        1
#  ifdef _M_IX86
#    define __i386__ 1
#  endif
#  ifdef _M_X64
#    define __x86_64__ 1
#  endif
#  if defined(_MSC_VER)
#    define snprintf                 _snprintf
#    define strtoull                 _strtoui64
#    define __func__                 __FUNCTION__
#  endif /* defined(_MSC_VER) */
#endif /* defined(_WIN32) */

#if HAVE_DECLSPEC_DLLEXPORT
#  ifdef LIBCPU_BUILD_CORE
#    define API_FUNC __declspec(dllexport)
#  else
#    define API_FUNC __declspec(dllimport)
#  endif
#else
#  define API_FUNC /* nothing */
#endif

#if HAVE_ATTRIBUTE_PACKED
#  define PACKED(x) x __attribute__((packed))
#elif HAVE_PRAGMA_PACK
#  define PACKED(x) __pragma(pack(push, 1)) x __pragma(pack(pop))
#else
#  error Do not know how to pack structs on this platform
#endif

#if HAVE_ATTRIBUTE_ALIGNED
#  define ALIGNED(x) __attribute__((aligned(x)))
#elif HAVE_DECLSPEC_ALIGN
#  define ALIGNED(x) __declspec(align(x))
#else
#  error Do not know how to specify alignment on this platform
#endif

#if defined(_WIN32)
#  define __LITTLE_ENDIAN__        1
#  ifdef _M_IX86
#    define __i386__ 1
#  endif
#  ifdef _M_X64
#    define __x86_64__ 1
#  endif
#  if defined(_MSC_VER)
#    define snprintf                 _snprintf
#    define strtoull                 _strtoui64
#    define __func__                 __FUNCTION__
#  endif /* defined(_MSC_VER) */
#endif /* defined(_WIN32) */

#if HAVE_DECLSPEC_DLLEXPORT
#  ifdef LIBCPU_BUILD_CORE
#    define API_FUNC __declspec(dllexport)
#  else
#    define API_FUNC __declspec(dllimport)
#  endif
#else
#  define API_FUNC /* nothing */
#endif

#if HAVE_ATTRIBUTE_PACKED
#  define PACKED(x) x __attribute__((packed))
#elif HAVE_PRAGMA_PACK
#  define PACKED(x) __pragma(pack(push, 1)) x __pragma(pack(pop))
#else
#  error Do not know how to pack structs on this platform
#endif

#if HAVE_ATTRIBUTE_ALIGNED
#  define ALIGNED(x) __attribute__((aligned(x)))
#elif HAVE_DECLSPEC_ALIGN
#  define ALIGNED(x) __declspec(align(x))
#else
#  error Do not know how to specify alignment on this platform
#endif

Remove a Windows line-ending that was accidentally included
Remove a Windows line-ending that was accidentally included
