1 /* 2 Copyright (C) 2015-2021, Dirk Krause 3 SPDX-License-Identifier: BSD-3-Clause 4 */ 5 6 /* 7 WARNING: This file was generated by the dkct program (see 8 http://dktools.sourceforge.net/ for details). 9 Changes you make here will be lost if dkct is run again! 10 You should modify the original source and run dkct on it. 11 Original source: dk4macd.ctr 12 */ 13 14 /** @file dk4macd.c The dk4macd module. 15 */ 16 17 18 #include "dk4conf.h" 19 #include <libdk4base/dk4types.h> 20 21 #if DK4_HAVE_INTMAX_T 22 #include <libdk4ma/dk4macm.h> 23 #else 24 #if DK4_HAVE_LONG_LONG 25 #include <libdk4ma/dk4macll.h> 26 #else 27 #include <libdk4ma/dk4macl.h> 28 #endif 29 #endif 30 31 #include <libdk4ma/dk4macd.h> 32 33 int dk4ma_im_compare(dk4_im_t s,dk4_um_t u)34dk4ma_im_compare(dk4_im_t s, dk4_um_t u) 35 { 36 #if DK4_HAVE_INTMAX_T 37 return (dk4ma_intmax_t_compare(s, u)); 38 #else 39 #if DK4_HAVE_LONG_LONG 40 return (dk4ma_long_long_compare(s, u)); 41 #else 42 return (dk4ma_long_compare(s, u)); 43 #endif 44 #endif 45 } 46 47