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: dk4macll.ctr 12 */ 13 14 #ifndef DK4MACLL_H_INCLUDED 15 /** Avoid multiple inclusions. */ 16 #define DK4MACLL_H_INCLUDED 1 17 18 19 /** @file 20 Comparison between signed and unsigned 21 long long. 22 */ 23 24 #ifndef DK4CONF_H_INCLUDED 25 #if DK4_BUILDING_DKTOOLS4 26 #include "dk4conf.h" 27 #else 28 #include <dktools-4/dk4conf.h> 29 #endif 30 #endif 31 32 #ifndef DK4TYPES_H_INCLUDED 33 #if DK4_BUILDING_DKTOOLS4 34 #include <libdk4base/dk4types.h> 35 #else 36 #include <dktools-4/dk4types.h> 37 #endif 38 #endif 39 40 41 42 #ifdef __cplusplus 43 extern "C" { 44 #endif 45 46 #if DK4_HAVE_LONG_LONG 47 48 /** Compare signed and unsigned long long. 49 @param s Signed long long. 50 @param u Unsigned long long. 51 @return 1 if s>u, 0 if s==u, -1 if s<u. 52 */ 53 int 54 dk4ma_long_long_compare(long long s, unsigned long long u); 55 56 #endif 57 58 #ifdef __cplusplus 59 } 60 #endif 61 62 63 64 65 #endif 66