Skip to content
Snippets Groups Projects
Commit c2856afa authored by rswindell's avatar rswindell
Browse files

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

parent 05f7d49f
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment