Browse Source

Refs #193. cblas: move #include out of extern "C" block.

Standard headers may contain C++ templates which are not permitted inside an
extern "C" block. This might be the case when we include <complex.h>.
tags/v0.2.6
Zaheer Chothia 12 years ago
parent
commit
875d520ccf
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      cblas.h

+ 3
- 3
cblas.h View File

@@ -1,14 +1,14 @@
#ifndef CBLAS_H
#define CBLAS_H

#include <stddef.h>
#include "common.h"

#ifdef __cplusplus
extern "C" {
/* Assume C declarations for C++ */
#endif /* __cplusplus */

#include <stddef.h>
#include "common.h"

/*Set the number of threads on runtime.*/
void openblas_set_num_threads(int num_threads);
void goto_set_num_threads(int num_threads);


Loading…
Cancel
Save