2
0
Nicolas Cannasse 13 жил өмнө
parent
commit
32d527b2e1
1 өөрчлөгдсөн 6 нэмэгдсэн , 2 устгасан
  1. 6 2
      std/neko/db/Object.hx

+ 6 - 2
std/neko/db/Object.hx

@@ -28,8 +28,12 @@ package neko.db;
 	SPOD Object : the persistent object base type. See the tutorial on haXe
 	website to learn how to use SPOD.
 **/
-#if spod_macro #else
-class Object #if spod_rtti implements haxe.rtti.Infos #end {
+#if !spod_macro
+
+#if( spod_rtti && haxe3 )
+@:rttiInfos
+#end
+class Object #if (spod_rtti && !haxe3) implements haxe.rtti.Infos #end {
 
 /*
 	(optional)