osmo-sdr/utils/rum-ba/src/utils.h @ master
1 | a59a9825 | Christian Daniel | #ifndef INCLUDE_UTILS_H
|
---|---|---|---|
2 | #define INCLUDE_UTILS_H
|
||
3 | |||
4 | #include <stdint.h>
|
||
5 | |||
6 | uint64_t getTickCount(); |
||
7 | void* loadFile(const char* filename, size_t* size); |
||
8 | |||
9 | 4cd82c23 | Christian Daniel | #ifndef WINDOWS
|
10 | typedef int HANDLE; |
||
11 | #define INVALID_HANDLE_VALUE (-1)
|
||
12 | #else
|
||
13 | #include <windows.h>
|
||
14 | #endif // WINDOWS
|
||
15 | |||
16 | a59a9825 | Christian Daniel | #endif // INCLUDE_UTILS_H
|