Panda3D
panda_getopt.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file panda_getopt.h
10  * @author drose
11  * @date 2011-07-19
12  */
13 
14 #ifndef PANDA_GETOPT_H
15 #define PANDA_GETOPT_H
16 
17 #include "dtoolbase.h"
18 
19 /* Include this file to get a definition of getopt(). */
20 
21 #ifndef HAVE_GETOPT
22  /* If the system doesn't provide a getopt(), use our own implementation. */
23  #include "panda_getopt_impl.h"
24 #else
25  /* We prefer to use the system version if it is available. */
26  #ifdef PHAVE_GETOPT_H
27  #include <getopt.h>
28  #endif
29 #endif
30 
31 #endif
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.