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