diff options
author | David Walter Seikel | 2014-05-28 15:51:47 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-28 15:51:47 +1000 |
commit | 98170010ee92c807650bd529216612532975c14e (patch) | |
tree | 7f7030cdc9d4b3f65329603d4f79be2405aa9f6e /src/libraries/love.h | |
parent | Oops part two. (diff) | |
download | SledjHamr-98170010ee92c807650bd529216612532975c14e.zip SledjHamr-98170010ee92c807650bd529216612532975c14e.tar.gz SledjHamr-98170010ee92c807650bd529216612532975c14e.tar.bz2 SledjHamr-98170010ee92c807650bd529216612532975c14e.tar.xz |
The UUID faking code is common enough to stick it in a macro.
Diffstat (limited to '')
-rw-r--r-- | src/libraries/love.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libraries/love.h b/src/libraries/love.h index cbd4c80..cf23f3c 100644 --- a/src/libraries/love.h +++ b/src/libraries/love.h | |||
@@ -83,6 +83,7 @@ love needs | |||
83 | 83 | ||
84 | #include "Runnr.h" | 84 | #include "Runnr.h" |
85 | 85 | ||
86 | #define FAKE_UUID "%08lx-%04lx-%04lx-%04lx-%012lx", random(), random() % 0xFFFF, random() % 0xFFFF, random() % 0xFFFF, random() | ||
86 | 87 | ||
87 | typedef struct _vec4 | 88 | typedef struct _vec4 |
88 | { | 89 | { |