Possibly make compiling example programs easier from the outside - don't assume HAVE_CONFIG_H is defined but pick up values from the runtime version of that file. We also now run example programs as tests if they are built. - libcdio.git - libcdio

index : libcdio.git
libcdio
summary refs log tree commit diff
path: root/example/sample4.c
diff options
context:
space:
mode:
authorR. Bernstein <rocky@gnu.org>2009年11月26日 05:31:39 -0500
committerR. Bernstein <rocky@gnu.org>2009年11月26日 05:31:39 -0500
commit35663d626645eb298b59b1dfef31b8f36f5c3787 (patch)
treea31b383433cffb34faaffa331f05ce7b9dcac6b8 /example/sample4.c
parent9bec7fc20431c3a6527ea419eaceebe49737d9dc (diff)
downloadlibcdio-35663d626645eb298b59b1dfef31b8f36f5c3787.tar.gz
Possibly make compiling example programs easier from the outside - don't assume HAVE_CONFIG_H is defined but pick up values from the runtime version of that file. We also now run example programs as tests if they are built.
Diffstat (limited to 'example/sample4.c')
-rw-r--r--example/sample4.c 7
1 files changed, 1 insertions, 6 deletions
diff --git a/example/sample4.c b/example/sample4.c
index ba0bcfcc..8e0fc16e 100644
--- a/example/sample4.c
+++ b/example/sample4.c
@@ -1,7 +1,5 @@
/*
- $Id: sample4.c,v 1.8 2008年03月24日 15:30:56 karl Exp $
-
- Copyright (C) 2003, 2004 2008 Rocky Bernstein <rocky@gnu.org>
+ Copyright (C) 2003, 2004, 2008, 2009 Rocky Bernstein <rocky@gnu.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -21,9 +19,6 @@
A slightly improved sample3 program: we handle cdio logging and
take an optional CD-location.
*/
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月21日 15:08:47 +0000

AltStyle によって変換されたページ (->オリジナル) /