summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-03-21 19:15:29 +0100
committerSergei Golubchik <sergii@pisem.net>2012-03-21 19:15:29 +0100
commite6c213897d8bd39df7b8734afeabf25eca9f4e5f (patch)
tree7d5ea0d4e505561ace06c6bc1ef774581d1096b8 /include/my_global.h
parent3920d978192ddf531d323168460cc7565236bd3c (diff)
parentc88e2679c60f56719b6d347c30374e69ffd3d5c4 (diff)
downloadmariadb-git-e6c213897d8bd39df7b8734afeabf25eca9f4e5f.tar.gz
merge
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 2fc6e413398..da6c918ff4d 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -571,6 +571,10 @@ int __void__;
#endif
#endif /* DONT_DEFINE_VOID */
+#ifndef STDERR_FILENO
+#define STDERR_FILENO 2
+#endif
+
/*
Deprecated workaround for false-positive uninitialized variables
warnings. Those should be silenced using tool-specific heuristics.