summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-12-06 15:33:06 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-12-06 15:33:06 +0100
commit89b5e0da050498c46e4ff9fe01c6c5e4c405bb08 (patch)
tree8faedfafd8f83440044e606fc6fd79d8871b4e1b /newplugin
parent15961bb34ac8fefdeeb00b16e7116698d95be62d (diff)
downloadvdr-89b5e0da050498c46e4ff9fe01c6c5e4c405bb08.tar.gz
vdr-89b5e0da050498c46e4ff9fe01c6c5e4c405bb08.tar.bz2
Added defines for large files to the 'newplugin' script
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin4
1 files changed, 3 insertions, 1 deletions
diff --git a/newplugin b/newplugin
index d4d82fe8..52ef72ea 100755
--- a/newplugin
+++ b/newplugin
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: newplugin 1.41 2008/01/13 13:00:23 kls Exp $
+# $Id: newplugin 2.1 2009/12/06 15:31:58 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -104,6 +104,8 @@ INCLUDES += -I\$(VDRDIR)/include
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"\$(PLUGIN)"'
+DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
+
### The object files (add further files here):
OBJS = \$(PLUGIN).o