From 52fa9fd45e1697c6b4423e282eb16826949acf74 Mon Sep 17 00:00:00 2001 From: Jeffrey Mealo Date: Mon, 21 Sep 2015 08:57:00 -0400 Subject: [PATCH 1/2] Fix OSX build issue where 10.8 and later have cstdint under tr1/cstdint --- src/lzf/lzfP.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lzf/lzfP.h b/src/lzf/lzfP.h index 7b7feda..cd35da6 100644 --- a/src/lzf/lzfP.h +++ b/src/lzf/lzfP.h @@ -144,7 +144,9 @@ using namespace std; # if defined (WIN32) # define LZF_USE_OFFSETS defined(_M_X64) # else -# if __cplusplus > 199711L +# if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_8 +# include +# elif __cplusplus > 199711L # include # else # include From aa93b611b011467924b7808aa7abb5a7c40a5354 Mon Sep 17 00:00:00 2001 From: Jeffrey Mealo Date: Mon, 21 Sep 2015 08:57:24 -0400 Subject: [PATCH 2/2] Add license field to package.json so NPM stops complaining --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1777e17..60c9bd8 100644 --- a/package.json +++ b/package.json @@ -20,5 +20,6 @@ "main": "./index", "scripts": { "test": "node test/test.js" - } + }, + "license": "BSD-2-Clause" }