From 26a4e8661b3ae5e18ab00cfa170653299a459b6a Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Sun, 26 Jan 2020 12:10:37 +0100
Subject: LONG_MAX isn't defined yet, use __LONG_MAX__


diff --git a/lib/limits.in.h b/lib/limits.in.h
index 90c273f..8288696 100644
--- a/lib/limits.in.h
+++ b/lib/limits.in.h
@@ -76,7 +76,7 @@
 #endif
 #ifndef LONG_BIT
 /* Assume 'long' is 32 or 64 bits wide.  */
-# if LONG_MAX == INT_MAX
+# if __LONG_MAX__ == __INT_MAX__
 #  define LONG_BIT 32
 # else
 #  define LONG_BIT 64
-- 
2.24.0

