Closed IAmNotHanni closed 8 years ago
There is a problem in this branch: hanni/NewVisualScripting. The following code: utils/uuid.cpp, line 36:
rc = clock_gettime(CLOCK_REALTIME, &tp);
does not work on Win32. It seems to work on Linux based systems only!
Instead of using util/uuid.hpp we should use boost UUID
A possible fix is this (Thanks to C++11) Just replace clock_gettime with timespec_get:
rc = timespec_get(&tp, TIME_UTC);
https://github.com/inexor-game/code/commit/6fbbf645aad1b9775d1467572ffcf6a6ee48d150 fixed it.
Note: This issue was about a feature branch not master.
There is a problem in this branch: hanni/NewVisualScripting. The following code: utils/uuid.cpp, line 36:
rc = clock_gettime(CLOCK_REALTIME, &tp);
does not work on Win32. It seems to work on Linux based systems only!
Instead of using util/uuid.hpp we should use boost UUID