Skip to content

Commit

Permalink
Fix export of symbols in flint.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
wbhart committed Dec 8, 2017
1 parent e22c3fc commit 22cdd6e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions flint.h
Expand Up @@ -12,12 +12,6 @@
#ifndef FLINT_H
#define FLINT_H

#ifdef FLINT_INLINES_C
#define FLINT_INLINE FLINT_DLL
#else
#define FLINT_INLINE static __inline__
#endif

#undef ulong
#define ulong ulongxx /* ensure vendor doesn't typedef ulong */
#if !defined(_MSC_VER)
Expand All @@ -40,6 +34,12 @@
#include "config.h"
#undef ulong

#ifdef FLINT_INLINES_C
#define FLINT_INLINE FLINT_DLL
#else
#define FLINT_INLINE static __inline__
#endif

#if HAVE_GC
#include "gc.h"
#endif
Expand Down Expand Up @@ -226,7 +226,7 @@ void flint_randclear(flint_rand_t state)

FLINT_INLINE
flint_rand_s * flint_rand_alloc()
{
{
return (flint_rand_s *) flint_malloc(sizeof(flint_rand_s));
}

Expand Down

0 comments on commit 22cdd6e

Please sign in to comment.