projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed some platform-related preprocessor definition names
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index bbfd5c156bee98811d51565b6860c1acb692a91d..f3f6a33bee60f968357a43a00d22eccc0db4cdf9 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-9976,7
+9976,7
@@
void OpenURLFromHash(SetupFileHash *hash, int hash_key)
// tests
// ============================================================================
// tests
// ============================================================================
-#if defined(PLATFORM_WIN
32
)
+#if defined(PLATFORM_WIN
DOWS
)
/* FILETIME of Jan 1 1970 00:00:00. */
static const unsigned __int64 epoch = ((unsigned __int64) 116444736000000000ULL);
/* FILETIME of Jan 1 1970 00:00:00. */
static const unsigned __int64 epoch = ((unsigned __int64) 116444736000000000ULL);
@@
-10030,7
+10030,7
@@
static char *test_init_uuid_random_function_better(void)
return seed_text;
}
return seed_text;
}
-#if defined(PLATFORM_WIN
32
)
+#if defined(PLATFORM_WIN
DOWS
)
static char *test_init_uuid_random_function_better_windows(void)
{
static char seed_text[100];
static char *test_init_uuid_random_function_better_windows(void)
{
static char seed_text[100];
@@
-10058,7
+10058,7
@@
static unsigned int test_uuid_random_function_better(int max)
return (max > 0 ? prng_get_uint() % max : 0);
}
return (max > 0 ? prng_get_uint() % max : 0);
}
-#if defined(PLATFORM_WIN
32
)
+#if defined(PLATFORM_WIN
DOWS
)
#define NUM_UUID_TESTS 3
#else
#define NUM_UUID_TESTS 2
#define NUM_UUID_TESTS 3
#else
#define NUM_UUID_TESTS 2
@@
-10085,7
+10085,7
@@
static void TestGeneratingUUIDs_RunTest(int nr, int always_seed, int num_uuids)
test_uuid_random_function_better);
int xpos = 40;
test_uuid_random_function_better);
int xpos = 40;
-#if defined(PLATFORM_WIN
32
)
+#if defined(PLATFORM_WIN
DOWS
)
if (nr == 2)
{
random_name = "windows";
if (nr == 2)
{
random_name = "windows";