comparison Core/Lua/LuaContext.h @ 2232:3dd44baebc36

macro ORTHANC_ENABLE_LUA for orthanc-wsi
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 14 Dec 2016 16:57:21 +0100
parents ce90d109bb64
children a3a65de1840f
comparison
equal deleted inserted replaced
2231:61e0564d03bb 2232:3dd44baebc36
29 * along with this program. If not, see <http://www.gnu.org/licenses/>. 29 * along with this program. If not, see <http://www.gnu.org/licenses/>.
30 **/ 30 **/
31 31
32 32
33 #pragma once 33 #pragma once
34
35 #if !defined(ORTHANC_ENABLE_LUA)
36 # error The macro ORTHANC_ENABLE_LUA must be defined
37 #endif
38
39 #if ORTHANC_ENABLE_LUA == 0
40 # error The Lua support is disabled, cannot include this file
41 #endif
34 42
35 #include "../HttpClient.h" 43 #include "../HttpClient.h"
36 44
37 extern "C" 45 extern "C"
38 { 46 {