From 085e0adf53baff298059980a54758d81b08bb059 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 1 Jan 2013 11:47:56 +0100 Subject: 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 --- pyuno/zipcore/python.cxx | 2 -- pyuno/zipcore/pyversion.inc | 19 ------------------- 2 files changed, 21 deletions(-) delete mode 100644 pyuno/zipcore/pyversion.inc (limited to 'pyuno/zipcore') 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"@" -- cgit