Commit c2856afa authored by rswindell's avatar rswindell
Browse files

Moved common DEADLOCK errno constant definition here (from js_global.c).

parent 05f7d49f
......@@ -38,6 +38,13 @@
#ifndef _GEN_DEFS_H
#define _GEN_DEFS_H
#include <errno.h>
/* Resolve multi-named errno constants */
#if defined(EDEADLK) && !defined(EDEADLOCK)
#define EDEADLOCK EDEADLK
#endif
#if defined(_WIN32)
#define WIN32_LEAN_AND_MEAN /* Don't bring in excess baggage */
#include <windows.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment