Go to the documentation of this file.
27#ifndef __LS_GLOBAL_H__
28#define __LS_GLOBAL_H__
33# define __STDC_FORMAT_MACROS 1
50#if (__MINGW32_MAJOR_VERSION < 3 || \
51 (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION < 15)) && \
52 !defined(__MINGW64) && !defined(__MINGW64_VERSION_MAJOR)
53#define usleep(a) Sleep(a/1000)
56#define sleep(a) Sleep(a*1000)
57typedef unsigned int uint;
59#define alignedMalloc(a,b) malloc(b)
60#define alignedFree(a) free(a)
69#define DEPRECATED_API __attribute__ ((deprecated))
75#if defined(__cplusplus) && __cplusplus >= 201103L
81# define OVERRIDE override