Skip to content

Commit

Permalink
Fix build for recent versions of xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
mmp committed Oct 27, 2019
1 parent 20a1cb5 commit 3f94503
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
// core/stats.h*
#include "pbrt.h"
#include <map>
#include <cfloat>
#include <chrono>
#include <string>
#include <functional>
Expand Down Expand Up @@ -296,7 +297,7 @@ void CleanupProfiler();

#ifndef PBRT_HAVE_CONSTEXPR
#define STATS_INT64_T_MIN LLONG_MAX
#define STATS_INT64_T_MAX _I64_MIN
#define STATS_INT64_T_MAX INT64_MIN
#define STATS_DBL_T_MIN DBL_MAX
#define STATS_DBL_T_MAX -DBL_MAX
#else
Expand Down

0 comments on commit 3f94503

Please sign in to comment.