Move _XOPEN_SOURCE macro to a more generic place (#2136)

Building with all-in-one and enabled debugger caused
errors as the sleep functions were not defined.

By moving the _XOPEN_SOURCE macro to a generic place
we make sure that the required sleep functions are
present in every case.

JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
This commit is contained in:
Péter Gál
2017-12-07 11:54:37 +01:00
committed by Akos Kiss
parent 75ac090dd9
commit 8b109510fd
2 changed files with 3 additions and 2 deletions
-2
View File
@@ -13,8 +13,6 @@
* limitations under the License.
*/
#define _XOPEN_SOURCE 500 /* Required macro for sleep functions */
#include "byte-code.h"
#include "debugger.h"
#include "ecma-builtin-helpers.h"