Ignore:
Timestamp:
Jun 21, 2013, 6:46:15 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
f88e07c79359c9680861c6db7a48478e2119bc60
Parents:
fe2e01ff5d2ee7a642d4a93d187fda61a3204007
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-06-21 18:46:15+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-07-09 22:24:33+02:00
Message:
Fixing the including of "config.h"-files before any other headers + include reordering...

fix: also syzextra
File:
1 edited

Legend:

Unmodified
Added
Removed
  • dyn_modules/syzextra/mod_main.cc

    rfe2e01 r83192d  
     1#ifdef HAVE_CONFIG_H
     2#include "config.h"
     3#endif /* HAVE_CONFIG_H */
     4
    15#include <kernel/mod2.h>
    26
     
    3135#include "DebugPrint.h"
    3236#include "myNF.h"
     37
     38
     39#include <Singular/mod_lib.h>
    3340
    3441
     
    9981005END_NAMESPACE
    9991006
    1000 extern "C"
    1001 {
    1002 
    1003 int mod_init(SModulFunctions* psModulFunctions)
     1007
     1008int SI_MOD_INIT(syzextra)(SModulFunctions* psModulFunctions)
    10041009{
    10051010#define ADD0(A,B,C,D,E) A(B, (char*)C, D, E)
     
    10361041  return 0;
    10371042}
    1038 }
     1043
     1044#ifndef EMBED_PYTHON
     1045extern "C" {
     1046int mod_init(SModulFunctions* psModulFunctions)
     1047{
     1048  return SI_MOD_INIT(syzextra)(psModulFunctions);
     1049}
     1050}
     1051#endif
Note: See TracChangeset for help on using the changeset viewer.