lib: make discarded events/packets support and clock snapshots optional
[babeltrace.git] / include / babeltrace / align-internal.h
index a2566c9900eaf0855e42fa1729727d7acfc1f4c4..d7c71bef7f1f3f9252246dafb229ba6964e68116 100644 (file)
@@ -2,8 +2,6 @@
 #define _BABELTRACE_ALIGN_H
 
 /*
- * BabelTrace align.h - alignment header
- *
  * Copyright 2010 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  */
 
 #include <babeltrace/compiler-internal.h>
-#include <unistd.h>
 #include <babeltrace/compat/limits-internal.h>
 
-#ifndef PAGE_SIZE              /* Cygwin limits.h defines its own PAGE_SIZE */
-#define PAGE_SIZE              sysconf(_SC_PAGE_SIZE)
-#endif
-
 #define ALIGN(x, a)            __ALIGN_MASK(x, (typeof(x))(a) - 1)
 #define __ALIGN_MASK(x, mask)  (((x) + (mask)) & ~(mask))
 #define PTR_ALIGN(p, a)                ((typeof(p)) ALIGN((unsigned long) (p), a))
This page took 0.027666 seconds and 4 git commands to generate.