Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
mdbx: minor fixup comments and warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
erthink committed May 4, 2018
1 parent 0c4b39b commit 7eb1b36
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions mdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,8 @@
# define _GNU_SOURCE
#endif

/* LY: Please do not ask us for Windows support, just never!
* But you can make a fork for Windows, or become maintainer for FreeBSD... */
#ifndef __gnu_linux__
# warning "This version of ReOpenMDBX supports only GNU Linux"
# warning "This version of libmdbx supports only GNU Linux"
#endif

#include <stddef.h>
Expand All @@ -56,21 +54,21 @@
#include "./defs.h"

#if !__GNUC_PREREQ(4,2)
/* LY: Actualy ReOpenMDBX was not tested with compilers
/* LY: Actualy libmdbx was not tested with compilers
* older than GCC 4.4 (from RHEL6).
* But you could remove this #error and try to continue at your own risk.
* In such case please don't rise up an issues related ONLY to old compilers.
*/
# warning "ReOpenMDBX required at least GCC 4.2 compatible C/C++ compiler."
# warning "libmdbx required at least GCC 4.2 compatible C/C++ compiler."
#endif

#if !__GLIBC_PREREQ(2,12)
/* LY: Actualy ReOpenMDBX was not tested with something
/* LY: Actualy libmdbx was not tested with something
* older than glibc 2.12 (from RHEL6).
* But you could remove this #error and try to continue at your own risk.
* In such case please don't rise up an issues related ONLY to old systems.
*/
# warning "ReOpenMDBX required at least GLIBC 2.12."
# warning "libmdbx required at least GLIBC 2.12."
#endif

#if MDB_DEBUG
Expand Down

0 comments on commit 7eb1b36

Please sign in to comment.