Move all (nano|u)sleep-related decisions to default port implementation (#2462)
... where they belong. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss [email protected]
This commit is contained in:
1 parent
fb35e34801
commit
29e7330b9b
6 files changed
+17
-24
No files matched your search
@@ -16,12 +16,6 @@
|
||||
#ifndef JRT_H
|
||||
#define JRT_H
|
||||
|
||||
#if !defined (_XOPEN_SOURCE) || _XOPEN_SOURCE < 500
|
||||
#undef _XOPEN_SOURCE
|
||||
/* Required macro for sleep functions (nanosleep or usleep) */
|
||||
#define _XOPEN_SOURCE 500
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user