blob: 2fcd5ad3a16c6eb9bd17cd7a41fe286ece73ec96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/**
* Config.cpp
*
* Simple programs that creates the config file for PHP-CPP. PHP-CPP needs
* a different config file when it is installed on a system with multi-threaded
* PHP, and on a system with single threaded PHP.
*
* @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
* @copyright 2014 Copernica BV
*/
#include <iostream>
#include <php_config.h>
/**
* Main procedure
* @return int
*/
int main()
{
#ifdef ZTS
// also define ZTS in the config file
std::cout << "#define ZTS" << std::endl;
#endif
// done
return 0;
}
|