#ifndef __NOUVEAU_LOCAL_H__ #define __NOUVEAU_LOCAL_H__ #include "pipe/p_compiler.h" #include "nouveau_winsys_pipe.h" #include /* Debug output */ #define NOUVEAU_MSG(fmt, args...) do { \ fprintf(stdout, "nouveau: "fmt, ##args); \ fflush(stdout); \ } while(0) #define NOUVEAU_ERR(fmt, args...) do { \ fprintf(stderr, "%s:%d - "fmt, __func__, __LINE__, ##args); \ fflush(stderr); \ } while(0) #endif