Skip to content

Commit

Permalink
Remove osdep.h patch
Browse files Browse the repository at this point in the history
  • Loading branch information
In-line committed Jul 14, 2017
1 parent 9434702 commit 1090386
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ then
sudo apt-get install --no-install-recommends -y gcc-multilib g++-multilib libc6-dev-i386 libc6-i386
fi

sed -i '/#define C_DLLEXPORT/c\//#define C_DLLEXPORT' third_party/metamod-hl1/metamod/osdep.h # Patch osdep.h

export CC=gcc
export CXX=g++

Expand Down
1 change: 0 additions & 1 deletion src/helper/external_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#ifndef CXXTEST_RUNNING // cxxtest generated runner.cpp file for some reason creates error.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
#define C_DLLEXPORT extern "C" __attribute__ ((visibility ("default")))
#include <extdll.h>
#include <meta_api.h>
#pragma GCC diagnostic pop
Expand Down

0 comments on commit 1090386

Please sign in to comment.