Merge pull request #101 from alliedmodders/sp2-incs

Block off operators for post-transitional compiler.
This commit is contained in:
David Anderson 2014-07-20 21:19:07 -07:00
commit b1c400190a

View File

@ -244,6 +244,7 @@ stock RoundFloat(Float:value)
* User defined operators.
*
*/
#if !defined __sourcepawn2__
#pragma rational Float
native bool:__FLOAT_GT__(Float:a, Float:b);
@ -368,6 +369,7 @@ stock bool:operator<=(oper1, Float:oper2)
forward operator%(Float:oper1, Float:oper2);
forward operator%(Float:oper1, oper2);
forward operator%(oper1, Float:oper2);
#endif // __sourcepawn2__
#define FLOAT_PI 3.1415926535897932384626433832795