# Copyright (c) 2026 Jakub Juszczakiewicz
# All rights reserved.

if (${ALG_ARCH} STREQUAL "POSIX_AMD64")
list(APPEND SOURCE_FILES
  src/sub/sub_posix_amd64.asm
)
else()
list(APPEND SOURCE_FILES
  src/sub/sub.c
)

check_source_compiles(C "
#include <stdckdint.h>

int main()
{
  return 0;
}
" HAVE_STDCKDINT_H)
if(HAVE_STDCKDINT_H)
 add_definitions(-DHAVE_STDCKDINT_H)
endif()


endif()
