# \#pragma-pack

**URL:** https://forums.digi.com/tag/pragma-pack/75.md

[Latest](https://forums.digi.com/latest.md) · [Categories](https://forums.digi.com/categories.md) · [Tags](https://forums.digi.com/tags.md)

---

## [Memory alignment at byte.](https://forums.digi.com/t/memory-alignment-at-byte/3640)

<div class="topic-metadata">

**Author:** [@mmalaspina](https://forums.digi.com/u/mmalaspina)\
**Replies:** 1\
**Last updated:** [February 16, 2009, 1:14pm UTC](https://forums.digi.com/t/memory-alignment-at-byte/3640 "2009-02-16T13:14:16Z")

</div>

Hi everybody, I need to set the alignment at 1 byte for a particular struct declaration, so I’ve found the following #pragma in the ncc\_post.c file (automatically included in my project): #pragma alignvar (32) so I th…
