historical/toontown-classic.git/panda/include/panda_getopt_long.h

34 lines
840 B
C
Raw Normal View History

2024-01-16 11:20:27 -06:00
/**
* 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