~ubuntu-branches/ubuntu/maverick/lua-sec/maverick

« back to all changes in this revision

Viewing changes to src/context.h

  • Committer: Bazaar Package Importer
  • Author(s): Enrico Tassi
  • Date: 2009-11-13 22:18:42 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20091113221842-1l4hj1rattecvtu2
Tags: 0.4-3
build depend on liblua5.1-policy-dev >= 26 to specify linker flags
for statical linkage (Closes: #555567)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define __CONTEXT_H__
3
3
 
4
4
/*--------------------------------------------------------------------------
5
 
 * LuaSec 0.3.3
 
5
 * LuaSec 0.4
6
6
 * Copyright (C) 2006-2009 Bruno Silvestre
7
7
 *
8
8
 *--------------------------------------------------------------------------*/
10
10
#include <lua.h>
11
11
#include <openssl/ssl.h>
12
12
 
13
 
#ifndef LUASEC_API
 
13
#if defined(_WIN32)
 
14
#define LUASEC_API __declspec(dllexport) 
 
15
#else
14
16
#define LUASEC_API extern
15
17
#endif
16
18