/** * 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.h * @author drose * @date 2011-07-19 */ #ifndef PANDA_GETOPT_H #define PANDA_GETOPT_H #include "dtoolbase.h" /* Include this file to get a definition of getopt(). */ #ifndef HAVE_GETOPT /* If the system doesn't provide a getopt(), 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 #endif #endif #endif