C preprocessor macros beginning/ending with underscores are
reserved for system use as well as macros containing a double
underscore anywhere, so application software macros are
supposed to be named differently.
For a header file gphoto2-abilities-list.h, this
consistently uses a macro name
LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H
for the usual
#ifndef LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H
#define LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H
... content of the header file ...
#endif /* !defined(LIBGPHOTO2_GPHOTO2_ABILITIES_LIST_H) */
Found using "clang -Weverything".
This should work, unless when run with an ancient C preprocessor
which might only the first 8 or 10 characters to distinguish
macro names and ignores the remainder of the name.
What is it? ----------- This is a camlib supporting the Intel PC Cam 300 camera and possibly others based on the same chip, namely the SunPlus spca500a. It was implemented using information obtained by sniffing the usb bus on Windows, disassembling the windows driver dll's and some guesswork. It is losely based on the pccam600 camlib and contains some code from that. Features -------- It currently supports downloading of images and deleting all files on the camera. TODO ____ - Figure out the avi and wav formats and support them. - Thumbnails? Can the cam do them? Authors ------- Till Adam <till@adam-lilienthal.de> Miah Gregory <mace@darksilence.net> Thanks ------ Pedro de Oliviera <falso@rdk.homeip.net> - Testing and feedback