Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (20 sloc) 0.629 kb
#pragma once
/*
quIRC - simple terminal-based IRC client
Copyright (C) 2010-12 Edward Cree
See quirc.c for license information
osconf.h: platform-specific configuration settings
*/
#ifndef ASYNCH_NL
#define ASYNCH_NL 1 // set to 0 if platform does not provide getaddrinfo_a() (and remove -lanl from Makefile OPTLIBS)
#endif /* !ASYNCH_NL */
#ifndef INTMAX_BUG
#define INTMAX_BUG 0 // set to 1 if platform doesn't like printf("...%jd...", (intmax_t)x); e.g. musl libc
#endif
#if INTMAX_BUG
#define PRINTMAX "%lld"
#define CASTINTMAX (long long int)
#else
#define PRINTMAX "%jd"
#define CASTINTMAX (intmax_t)
#endif
Jump to Line
Something went wrong with that request. Please try again.