diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
commit | 1f457376b478257b88d4a857f5ec1b6155442dd7 (patch) | |
tree | 2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/dk4mkdh.ctr | |
parent | ac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff) |
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/dk4mkdh.ctr')
-rw-r--r-- | support/dktools/dk4mkdh.ctr | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/support/dktools/dk4mkdh.ctr b/support/dktools/dk4mkdh.ctr index a300402206..f9c1f06055 100644 --- a/support/dktools/dk4mkdh.ctr +++ b/support/dktools/dk4mkdh.ctr @@ -2,7 +2,7 @@ copyright owner = Dirk Krause copyright year = 2015-xxxx -license = bsd +SPDX-License-Identifier: BSD-3-Clause @@ -15,15 +15,27 @@ license = bsd */ #ifndef DK4CONF_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 #include "dk4conf.h" +#else +#include <dktools-4/dk4conf.h> +#endif #endif #ifndef DK4TYPES_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 #include "dk4types.h" +#else +#include <dktools-4/dk4types.h> +#endif #endif #ifndef DK4ERROR_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 #include "dk4error.h" +#else +#include <dktools-4/dk4error.h> +#endif #endif #ifdef __cplusplus @@ -58,6 +70,7 @@ dk4mkdir_hierarchy(const dkChar *fn, int lc, dk4_er_t *erp); %% module +#include "dk4conf.h" #include "dk4mkdh.h" #if DK4_CHAR_SIZE > 1 @@ -70,11 +83,20 @@ dk4mkdir_hierarchy(const dkChar *fn, int lc, dk4_er_t *erp); #endif #endif +#if DK4_HAVE_ASSERT_H +#ifndef ASSERT_H_INCLUDED +#include <assert.h> +#define ASSERT_H_INCLUDED 1 +#endif +#endif int dk4mkdir_hierarchy(const dkChar *fn, int lc, dk4_er_t *erp) { +#if DK4_USE_ASSERT + assert(NULL != fn); +#endif #if DK4_CHAR_SIZE > 1 return (dk4mkdir_hierarchy_wc(fn, lc, erp)); #else |