28 lines
707 B
C
28 lines
707 B
C
|
/**
|
||
|
* PANDA 3D SOFTWARE
|
||
|
* Copyright (c) Carnegie Mellon University. All rights reserved.
|
||
|
*
|
||
|
* All use of this software is subject to the terms of the revised BSD
|
||
|
* license. You should have received a copy of this license along
|
||
|
* with this source code in a file named "LICENSE."
|
||
|
*
|
||
|
* @file stddef.h
|
||
|
* @author drose
|
||
|
* @date 2002-09-26
|
||
|
*/
|
||
|
|
||
|
// 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 STDDEF_H
|
||
|
#define STDDEF_H
|
||
|
|
||
|
#include <stdtypedefs.h>
|
||
|
|
||
|
#define offsetof(type,member) ((size_t) &(((type*)0)->member))
|
||
|
|
||
|
#endif
|
||
|
|