Skip to content

Commit

Permalink
Always define FOLLY_FORCE_CLOCK_GETTIME_DEFINITION
Browse files Browse the repository at this point in the history
Summary: Fix a `-Wundef` warning when building with `arvr/mode/platform010`.

Reviewed By: meyering, h-friederich

Differential Revision: D61980552

fbshipit-source-id: 1c5948ad23a3a047207b7f17ce3b62bc467b7e29
  • Loading branch information
Gabriel Agamennoni authored and facebook-github-bot committed Sep 3, 2024
1 parent 6e59b59 commit b6e68ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions folly/portability/Time.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b6e68ca

Please sign in to comment.