summaryrefslogtreecommitdiff
path: root/source4/build/scons/proto.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/scons/proto.py')
-rw-r--r--source4/build/scons/proto.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/build/scons/proto.py b/source4/build/scons/proto.py
index fc5cc1b7c1..ef9d1d11b2 100644
--- a/source4/build/scons/proto.py
+++ b/source4/build/scons/proto.py
@@ -13,8 +13,7 @@ proto_builder = SCons.Builder.Builder(action='$PROTOCOM',
def generate(env):
env['MKPROTO'] = './script/mkproto.sh'
- env['PROTO_DEFINE'] = '_PROTO_H_'
- env['PROTOCOM'] = '$MKPROTO "$PERL" -h $PROTO_DEFINE ${TARGETS[0]} $SOURCES'
+ env['PROTOCOM'] = '$MKPROTO "$PERL" ${TARGETS[0]} $SOURCES'
env['BUILDERS']['CProtoHeader'] = proto_builder
def exists(env):