| 123456789101112131415161718192021222324252627282930313233 |
- /**
- * 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 panda_getopt_long.h
- * @author drose
- * @date 2011-07-19
- */
- #ifndef PANDA_GETOPT_LONG_H
- #define PANDA_GETOPT_LONG_H
- #include "dtoolbase.h"
- /* Include this file to get a definition of getopt_long() or
- getopt_long_only(). */
- #ifndef HAVE_GETOPT_LONG_ONLY
- /* If our system getopt() doesn't come with getopt_long_only(), then use
- our own implementation. */
- #include "panda_getopt_impl.h"
- #else
- /* We prefer to use the system version if it is available. */
- #ifdef PHAVE_GETOPT_H
- #include <getopt.h>
- #endif
- #endif
- #endif
|