[libc-commits] [PATCH] D156961: [libc] Add limits.h

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Aug 4 13:56:04 PDT 2023


michaelrj added inline comments.


================
Comment at: libc/include/llvm-libc-macros/limits-macros.h:9
+#if __LP64__
+#define __LONG_MAX 0x7fffffffffffffffL
+#else
----------------
as an added thing, can we make it so that we only define these if they aren't already defined?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156961/new/

https://reviews.llvm.org/D156961



More information about the libc-commits mailing list