/*******************************************************************************
 *
 * File:     config.h
 *
 * Contents: Configuration nformation on the build of the library.
 *
 * Copyright 2017
 *
 * Author: David Juhasz (david.juhasz@tuwien.ac.at)
 *
 ******************************************************************************/

#ifndef __ROSA_CONFIG_SYSTEM_H__
#define __ROSA_CONFIG_SYSTEM_H__

// Various preprocessor macros containing config information.
#include "rosa-config.h"

// This OS-specific block defines one of the following:
// - ROSA_LINUX
// - ROSA_WINDOWS
// It also defines ROSA_POSIX for POSIX-compatible systems
#if defined(__linux__)
#define ROSA_LINUX
#elif defined(WIN32) || defined(_WIN32)
#define ROSA_WINDOWS
#else
#error Platform and/or compiler not supported
#endif
#if defined(ROSA_LINUX)
#define ROSA_POSIX
#endif

#endif // __ROSA_CONFIG_SYSTEM_H__

