]> git.draconx.ca Git - upkg.git/blobdiff - src/engine/mesh.gob
Stop using gnulib's flexmember module.
[upkg.git] / src / engine / mesh.gob
index ed633a88ef69cf5568fe5b8bf0edc2d43a33dd15..8e60828ab0870c149e7b2ff4c9c1153a119acb6a 100644 (file)
@@ -1,28 +1,36 @@
 %alltop{
 /*
- *  upkg: tool for manipulating Unreal Tournament packages.
- *  Copyright © 2020 Nick Bowler
+ * upkg: tool for manipulating Unreal Tournament packages.
+ * Copyright © 2020, 2022 Nick Bowler
  *
- *  This program is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 3 of the License, or
- *  (at your option) any later version.
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
  *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
  *
- *  You should have received a copy of the GNU General Public License
- *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <https://www.gnu.org/licenses/>.
  */
 %}
 
+%ctop{
+#include <config.h>
+%}
+
 %{
-#include <stdint.h>
+#include <inttypes.h>
 #include <uobject/loadable.h>
 #include <uobject/exportable.h>
 #include "pack.h"
+
+#ifndef SIZE_MAX
+#  define SIZE_MAX ((size_t)-1)
+#endif
 %}
 
 %h{