office-gobmx/config_host/config_cups.h.in
Michael Weghorn c5cad121e5 Add a CUPS config header
In line with what's done for most optional,
build-time configurable features, use a config
header `config_cups.h` that has a `ENABLE_CUPS` define,
include that header in the relevant source file and use

    #if ENABLE_CUPS

for code depending on CUPS being enabled instead of defining
a macro and using

    #ifdef ENABLE_CUPS

This also aligns this with the `ENABLE_CPDB` macro used
in the same source file.

Change-Id: I71a5205fd63f9fc18470afcaf808c489ff833319
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172397
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2024-08-27 07:30:03 +02:00

14 lines
431 B
C

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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/.
*/
#pragma once
#define ENABLE_CUPS 0
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */