diff options
author | Kitty Barnett <develop@catznip.com> | 2023-02-08 14:52:16 +0100 |
---|---|---|
committer | Kitty Barnett <develop@catznip.com> | 2023-02-08 14:52:16 +0100 |
commit | 5805bbd8104e66fb9ae7ed3c22e374e377b2f2e1 (patch) | |
tree | aeea23255f4717f57012d5d42075659ecff6c76a /indra/llcommon/llsys_objc.h | |
parent | da0335c864477036ba996fbab4db2194535466d7 (diff) | |
parent | b2f890408e2dc63a0f842273c41c0efed770cb9a (diff) |
Merge branch 'DRTVWR-489-emoji' of https://github.com/secondlife/viewer into DRTVWR-489-emoji
Diffstat (limited to 'indra/llcommon/llsys_objc.h')
-rw-r--r-- | indra/llcommon/llsys_objc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llcommon/llsys_objc.h b/indra/llcommon/llsys_objc.h index 35599a574b..b48ff97bdb 100644 --- a/indra/llcommon/llsys_objc.h +++ b/indra/llcommon/llsys_objc.h @@ -27,7 +27,11 @@ #ifndef LL_LLSYS_OBJC_H #define LL_LLSYS_OBJC_H -bool LLGetDarwinOSInfo(int &major, int &minor, int &patch); +#include <cstdint> + +// C++ land doesn't define NSInteger, and we don't want to introduce that for +// this one case, so use int64_t instead (which is equivalent). +bool LLGetDarwinOSInfo(int64_t &major, int64_t &minor, int64_t &patch); #endif // LL_LLSYS_OBJC_H |