summaryrefslogtreecommitdiff
path: root/pyuno/zipcore
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-01-01 11:47:56 +0100
committerDavid Tardon <dtardon@redhat.com>2013-01-01 13:15:01 +0100
commit085e0adf53baff298059980a54758d81b08bb059 (patch)
tree190d93c246bb54b86ec445a8b970329ba72b95cc /pyuno/zipcore
parentae5c574ac24ed8979dcf03da87cd14c078db2a07 (diff)
just pass the define through -D
I am constantly amazed at the creativity of the original makefile writers. An extra header file, processed by sed, rather then adding one item to CDEFS? Really? Change-Id: I41ae8b10fc447ea5ab91e767c8afb87e39b9b5f5
Diffstat (limited to 'pyuno/zipcore')
-rw-r--r--pyuno/zipcore/python.cxx2
-rw-r--r--pyuno/zipcore/pyversion.inc19
2 files changed, 0 insertions, 21 deletions
diff --git a/pyuno/zipcore/python.cxx b/pyuno/zipcore/python.cxx
index 8122f9c92faa..34ff2e2da7e3 100644
--- a/pyuno/zipcore/python.cxx
+++ b/pyuno/zipcore/python.cxx
@@ -32,8 +32,6 @@
#include "tools/pathutils.hxx"
-#include "pyversion.hxx"
-
#define MY_LENGTH(s) (sizeof (s) / sizeof *(s) - 1)
#define MY_STRING(s) (s), MY_LENGTH(s)
diff --git a/pyuno/zipcore/pyversion.inc b/pyuno/zipcore/pyversion.inc
deleted file mode 100644
index f7a6e776bfaa..000000000000
--- a/pyuno/zipcore/pyversion.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#define MY_PYVERSION L"@"