Skip to content

Commit

Permalink
Prevent multiple inclusion of src/mathlink_macros.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jhyeon committed Jul 11, 2016
1 parent 9c06b57 commit 3d6b7eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/mathlink_macros.hpp
Expand Up @@ -16,6 +16,9 @@
// <http://www.gnu.org/licenses/>.
// ====================================================================

#ifndef MATHLINK_MACROS_H
#define MATHLINK_MACROS_H

#include "mathlink.h"

#include <complex>
Expand Down Expand Up @@ -116,3 +119,5 @@ void MLPutRuleTo(MLINK link, T t, const std::string& name, const std::vector<std
MLPutRule(link, name, heads);
MLPut(link, t);
}

#endif // MATHLINK_MACROS_H

0 comments on commit 3d6b7eb

Please sign in to comment.