Browse Source

build on Irix

David Rose 21 years ago
parent
commit
1dfa65881b
2 changed files with 4 additions and 4 deletions
  1. 2 2
      pandatool/src/xfileegg/xFileMesh.cxx
  2. 2 2
      pandatool/src/xfileprogs/Sources.pp

+ 2 - 2
pandatool/src/xfileegg/xFileMesh.cxx

@@ -691,7 +691,7 @@ fill_mesh(XFileDataNode *obj) {
 
   // Some properties are stored as children of the mesh.
   int num_objects = obj->get_num_objects();
-  for (int i = 0; i < num_objects; i++) {
+  for (i = 0; i < num_objects; i++) {
     if (!fill_mesh_child(obj->get_object(i))) {
       return false;
     }
@@ -918,7 +918,7 @@ fill_material_list(XFileDataNode *obj) {
   // Now look for children of the MaterialList object.  These should
   // all be Material objects.
   int num_objects = obj->get_num_objects();
-  for (int i = 0; i < num_objects; i++) {
+  for (i = 0; i < num_objects; i++) {
     XFileDataNode *child = obj->get_object(i);
     if (child->is_standard_object("Material")) {
       XFileMaterial *material = new XFileMaterial;

+ 2 - 2
pandatool/src/xfileprogs/Sources.pp

@@ -5,7 +5,7 @@
     egg:c pandaegg:m \
     mathutil:c linmath:c putil:c panda:m \
     express:c pandaexpress:m \
-    dtoolconfig dtool pystub \
+    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
   #define SOURCES \
     eggToX.cxx eggToX.h
@@ -19,7 +19,7 @@
     egg:c pandaegg:m \
     mathutil:c linmath:c putil:c panda:m \
     express:c pandaexpress:m \
-    dtoolconfig dtool pystub \
+    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
   #define SOURCES \
     xFileToEgg.cxx xFileToEgg.h