diff options
author | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-10-31 17:55:21 +0200 |
---|---|---|
committer | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-10-31 17:55:21 +0200 |
commit | 196fb0c0c1541cf1ec1b5e9ff8ac0e8109fde29c (patch) | |
tree | a35307258c8cd76cf4c41af630938943c2c47e09 /src/codegen.h | |
parent | 7b999686ec4c732d28efd344065606fccba84ae4 (diff) | |
download | ffts-196fb0c0c1541cf1ec1b5e9ff8ac0e8109fde29c.zip ffts-196fb0c0c1541cf1ec1b5e9ff8ac0e8109fde29c.tar.gz |
Add CMake as an alternative build system
Add support for Windows x64 (requires YASM)
Diffstat (limited to 'src/codegen.h')
-rw-r--r-- | src/codegen.h | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/src/codegen.h b/src/codegen.h index c07144f..e3c2381 100644 --- a/src/codegen.h +++ b/src/codegen.h @@ -1,10 +1,10 @@ /* - + This file is part of FFTS -- The Fastest Fourier Transform in the South - + Copyright (c) 2012, Anthony M. Blake <amb@anthonix.com> - Copyright (c) 2012, The University of Waikato - + Copyright (c) 2012, The University of Waikato + All rights reserved. Redistribution and use in source and binary forms, with or without @@ -31,20 +31,15 @@ */ -#ifndef __CODEGEN_H__ -#define __CODEGEN_H__ +#ifndef FFTS_CODEGEN_H +#define FFTS_CODEGEN_H -#include <stddef.h> -#include <stdio.h> -#include <stdlib.h> -#include <errno.h> -#include <sys/mman.h> -#include <string.h> -#include <limits.h> /* for PAGESIZE */ +#if defined (_MSC_VER) && (_MSC_VER >= 1020) +#pragma once +#endif #include "ffts.h" -void ffts_generate_func_code(ffts_plan_t *, size_t N, size_t leafN, int sign); +transform_func_t ffts_generate_func_code(ffts_plan_t *p, size_t N, size_t leaf_N, int sign); -#endif -// vim: set autoindent noexpandtab tabstop=3 shiftwidth=3: +#endif /* FFTS_CODEGEN_H */ |