mirror of
https://github.com/love2d/megasource.git
synced 2026-08-17 11:11:35 +02:00
Added SDL 1c0f6952e65e.
This commit is contained in:
@@ -13,9 +13,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "SDL.h"
|
||||
#include "SDL_endian.h"
|
||||
#include "SDL_cpuinfo.h"
|
||||
#include "SDL_assert.h"
|
||||
|
||||
/*
|
||||
* Watcom C flags these as Warning 201: "Unreachable code" if you just
|
||||
@@ -119,14 +116,8 @@ TestEndian(SDL_bool verbose)
|
||||
++error;
|
||||
}
|
||||
if (verbose) {
|
||||
#ifdef _MSC_VER
|
||||
SDL_Log("Value 64 = 0x%I64X, swapped = 0x%I64X\n", value64,
|
||||
SDL_Log("Value 64 = 0x%"SDL_PRIX64", swapped = 0x%"SDL_PRIX64"\n", value64,
|
||||
SDL_Swap64(value64));
|
||||
#else
|
||||
SDL_Log("Value 64 = 0x%llX, swapped = 0x%llX\n",
|
||||
(unsigned long long) value64,
|
||||
(unsigned long long) SDL_Swap64(value64));
|
||||
#endif
|
||||
}
|
||||
if (SDL_Swap64(value64) != swapped64) {
|
||||
if (verbose) {
|
||||
|
||||
Reference in New Issue
Block a user