Changeset 581


Ignore:
Timestamp:
Mar 10, 2006, 10:48:33 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Made cacamoir, cacaball and cacaplas buildable into a kernel.
Location:
libcaca/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaball.c

    r527 r581  
    1414#include "config.h"
    1515
    16 #include <stdio.h>
    17 #include <stdlib.h>
    18 #include <string.h>
    19 #include <math.h>
    20 
    21 #ifndef M_PI
    22 #   define M_PI 3.14159265358979323846
     16#if !defined(__KERNEL__)
     17#   include <math.h>
     18#   ifndef M_PI
     19#       define M_PI 3.14159265358979323846
     20#   endif
    2321#endif
    2422
  • libcaca/trunk/src/cacamoir.c

    r527 r581  
    1414#include "config.h"
    1515
    16 #include <math.h>
    17 #include <string.h>
     16#if !defined(__KERNEL__)
     17#   include <math.h>
     18#   include <string.h>
     19#endif
    1820
    1921#include "cucul.h"
  • libcaca/trunk/src/cacaplas.c

    r527 r581  
    1515#include "config.h"
    1616
    17 #include <math.h>
    18 
    19 #ifndef M_PI
    20 #   define M_PI 3.14159265358979323846
     17#if !defined(__KERNEL__)
     18#   include <math.h>
     19#   ifndef M_PI
     20#       define M_PI 3.14159265358979323846
     21#   endif
    2122#endif
    2223
Note: See TracChangeset for help on using the changeset viewer.