From: <sja...@us...> - 2003-08-14 01:44:54
|
Update of /cvsroot/binaryphp/binaryphp In directory sc8-pr-cvs1:/tmp/cvs-serv11243 Modified Files: php_var.hpp Log Message: Add #ifndef check so php_var.hpp can be included multiple times with out error. Index: php_var.hpp =================================================================== RCS file: /cvsroot/binaryphp/binaryphp/php_var.hpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** php_var.hpp 10 Aug 2003 05:18:31 -0000 1.1 --- php_var.hpp 14 Aug 2003 00:01:43 -0000 1.2 *************** *** 4,7 **** --- 4,11 ---- #include <stdio.h> #include <iostream> + + #ifndef __php_var + #define __php_var + #define PHP_NULL 0 #define PHP_STRING 1 *************** *** 82,83 **** --- 86,89 ---- int type; // Contains current type. }; + + #endif |