David Rose 18 роки тому
батько
коміт
452a7bb6d8
2 змінених файлів з 30 додано та 1 видалено
  1. 1 1
      dtool/src/parser-inc/Sources.pp
  2. 29 0
      dtool/src/parser-inc/setjmp.h

+ 1 - 1
dtool/src/parser-inc/Sources.pp

@@ -12,7 +12,7 @@
     cv.h cvtypes.h cxcore.h cxerror.h cxtypes.h highgui.h \
     avcodec.h avformat.h avio.h avutil.h common.h integer.h \
     intfloat_readwrite.h mathematics.h rational.h rtp.h \
-    rtsp.h rtspcodes.h winsock2.h \
+    rtsp.h rtspcodes.h setjmp.h winsock2.h \
     ode/config.h ode/common.h collision_trimesh.h  \
     netinet/tcp.h netinet/ip.h
 

+ 29 - 0
dtool/src/parser-inc/setjmp.h

@@ -0,0 +1,29 @@
+// Filename: setjmp.h
+// Created by:  drose (21Jun07)
+//
+////////////////////////////////////////////////////////////////////
+//
+// PANDA 3D SOFTWARE
+// Copyright (c) 2001 - 2004, Disney Enterprises, Inc.  All rights reserved
+//
+// All use of this software is subject to the terms of the Panda 3d
+// Software license.  You should have received a copy of this license
+// along with this source code; you will also find a current copy of
+// the license at http://etc.cmu.edu/panda3d/docs/license/ .
+//
+// To contact the maintainers of this program write to
+// [email protected] .
+//
+////////////////////////////////////////////////////////////////////
+
+// This file, and all the other files in this directory, aren't
+// intended to be compiled--they're just parsed by CPPParser (and
+// interrogate) in lieu of the actual system headers, to generate the
+// interrogate database.
+
+#ifndef SETJMP_H
+#define SETJMP_H
+
+typedef int jmp_buf[1];
+
+#endif  // SETJMP_H