We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff4ab6 commit 48d7993Copy full SHA for 48d7993
.travis.yml
@@ -4,7 +4,7 @@ sudo: false
4
5
matrix:
6
include:
7
- - compiler: ": Lua51"
+ - compiler: ": Lua51osx"
8
env: LUA="lua 5.1"
9
os: osx
10
- compiler: ": Lua51"
@@ -34,6 +34,7 @@ branches:
34
35
before_install:
36
- export CC=gcc
37
+ - gcc --version
38
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=$PATH:~/Library/Python/2.7/bin/; fi
39
- pip install --user cpp-coveralls
40
- pip install --user hererocks
src/lcutils.h
@@ -13,7 +13,7 @@
13
14
#include "lcurl.h"
15
16
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(__cplusplus)
17
# define LCURL_CC_SUPPORT_FORWARD_TYPEDEF 1
18
#elif defined(__STDC_VERSION__)
19
# if __STDC_VERSION__ >= 201112
0 commit comments