Error out attempting to use directors without -c++

Remove redundant #ifdef __cplusplus markers in director.swg
This commit is contained in:
William S Fulton 2013-12-23 20:23:54 +00:00
commit 1a19451c1b
10 changed files with 4 additions and 34 deletions

View file

@ -8,8 +8,6 @@
#ifndef SWIG_DIRECTOR_PHP_HEADER_
#define SWIG_DIRECTOR_PHP_HEADER_
#ifdef __cplusplus
#include <string>
#include <map>
@ -171,6 +169,4 @@ namespace Swig {
// so use a macro to insert TSRMLS_CC so any ZTS context gets passed.
#define DirectorMethodException() DirectorMethodException("" TSRMLS_CC)
#endif /* __cplusplus */
#endif