From b6e68ca77b49962224b8448cd14e7b6471e291f8 Mon Sep 17 00:00:00 2001 From: Gabriel Agamennoni Date: Tue, 3 Sep 2024 10:24:34 -0700 Subject: [PATCH] Always define FOLLY_FORCE_CLOCK_GETTIME_DEFINITION Summary: Fix a `-Wundef` warning when building with `arvr/mode/platform010`. Reviewed By: meyering, h-friederich Differential Revision: D61980552 fbshipit-source-id: 1c5948ad23a3a047207b7f17ce3b62bc467b7e29 --- folly/portability/Time.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/folly/portability/Time.h b/folly/portability/Time.h index f51ff105b56..26e360f3dc7 100644 --- a/folly/portability/Time.h +++ b/folly/portability/Time.h @@ -36,6 +36,10 @@ #define FOLLY_HAVE_CLOCK_GETTIME 1 #define FOLLY_FORCE_CLOCK_GETTIME_DEFINITION 1 +#else + +#define FOLLY_FORCE_CLOCK_GETTIME_DEFINITION 0 + #endif // These aren't generic implementations, so we can only declare them on