blob: 8b2e383440f3068030a89d8ca1cf2b6f5e2817b4 [file] [log] [blame]
#include <stdio.h>
#include <stdint.h>
#include "config.h" /* For HAVE_INTTYPES_H. */
#ifdef HAVE_INTTYPES_H
# include <inttypes.h> /* For PRId64. */
#endif
void
gomp_print_string (const char *msg, const char *value)
{
printf ("%s%s\n", msg, value);
}
void
gomp_print_integer (const char *msg, int64_t value)
{
#ifdef HAVE_INTTYPES_H
printf ("%s%" PRId64 "\n", msg, value);
#else
printf ("%s%ld\n", msg, (long) value);
#endif
}
void
gomp_print_double (const char *msg, double value)
{
printf ("%s%f\n", msg, value);
}