Browse Source

Try to include C99 math functions

tags/v0.6.0
Andrew Belt 7 years ago
parent
commit
6e84665286
2 changed files with 4 additions and 1 deletions
  1. +0
    -1
      include/util/common.hpp
  2. +4
    -0
      include/util/math.hpp

+ 0
- 1
include/util/common.hpp View File

@@ -4,7 +4,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include <string.h>
#include <assert.h>



+ 4
- 0
include/util/math.hpp View File

@@ -1,5 +1,9 @@
#pragma once
#include "util/common.hpp"
#ifndef _GLIBCXX_USE_C99_MATH
#define _GLIBCXX_USE_C99_MATH
#endif
#include <math.h>


namespace rack {


Loading…
Cancel
Save