Skip to content

Commit 48d7993

Browse files
committed
Update Travis file.
1 parent eff4ab6 commit 48d7993

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sudo: false
44

55
matrix:
66
include:
7-
- compiler: ": Lua51"
7+
- compiler: ": Lua51osx"
88
env: LUA="lua 5.1"
99
os: osx
1010
- compiler: ": Lua51"
@@ -34,6 +34,7 @@ branches:
3434

3535
before_install:
3636
- export CC=gcc
37+
- gcc --version
3738
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH=$PATH:~/Library/Python/2.7/bin/; fi
3839
- pip install --user cpp-coveralls
3940
- pip install --user hererocks

src/lcutils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
#include "lcurl.h"
1515

16-
#ifdef _MSC_VER
16+
#if defined(_MSC_VER) || defined(__cplusplus)
1717
# define LCURL_CC_SUPPORT_FORWARD_TYPEDEF 1
1818
#elif defined(__STDC_VERSION__)
1919
# if __STDC_VERSION__ >= 201112

0 commit comments

Comments
 (0)