Add checks for HAVE_GPL to various GPL-only source files

This should actually cover all of them, if you take into account that
some unchanged GPL source files include header files with such checks.
Also this was done already for the libaf derived code.

This is only for "safety" and to avoid misunderstandings.
This commit is contained in:
wm4
2017-10-10 15:51:16 +02:00
parent 7c66c2bb75
commit 14541ae258
31 changed files with 148 additions and 0 deletions

View File

@@ -46,6 +46,11 @@
#include "common/msg.h"
#include "config.h"
#if !HAVE_GPL
#error GPL only
#endif
typedef struct cdda_params {
cdrom_drive_t *cd;
cdrom_paranoia_t *cdp;